pkgname: 'xorg-libfs' pkgver: '1.0.8' pkgrel: '2' pkgdesc: 'libFS, library X Font Service client' url: 'https://xorg.freedesktop.org' arch: x86_64 depends: [] makedepends: - xorgproto - 'xorg-xtrans' source: - 'https://ftp.x.org/pub/individual/lib/libFS-${pkgver}.tar.bz2' sha256sums: - SKIP build: | cd libFS-1.0.8 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static make make DESTDIR="${PKGDIR}" install package: | rm -f ${PKGDIR}/usr/lib/libFS.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="libFS-" $LYNX $url/?C=M\;O=D|grep "$ext$"|grep "$url/${pkgname}"|sed "s@$ext\$@@"|sed "s@$url/${pkgname}@@"|head -1