🔒 Repository is read-only – file editing is disabled.

recipes/gui/xorg-libxshmfence/PAGBUILD.yaml main

33 linii Raw ← Powrót
123456789101112131415161718192021222324252627282930313233
pkgname: 'xorg-libxshmfence'
pkgver: '1.3.3'
pkgrel: '1'
pkgdesc: 'a library that exposes a event API on top of Linux futexes'
url: 'https://xorg.freedesktop.org'
arch: x86_64
depends: []
makedepends:
- xorgproto
- 'xorg-libx11'

source:
- 'https://xorg.freedesktop.org/archive/individual/lib/libxshmfence-${pkgver}.tar.xz'

sha256sums:
- SKIP

build: |
  cd libxshmfence-1.3.3
  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static
  make
  make DESTDIR="${PKGDIR}" install

package: |
  rm -f ${PKGDIR}/usr/lib/libxshmfence.la

update: |
  local ext url name LINX
  LYNX="lynx -read_timeout=20 -dump -listonly -nonumbers "
  ext=".tar.bz2"
  url="https://ftp.x.org/archive//individual//lib"
  name="libxshmfence-"
  $LYNX $url/?C=M\;O=D|grep "$ext$"|grep "$url/${pkgname}"|sed "s@$ext\$@@"|sed "s@$url/${pkgname}@@"|head -1