pkgname: 'xorg-xkbcomp' pkgver: '1.5.0' pkgrel: '1' pkgdesc: 'X keyboards descriptions compiler.' url: 'https://xorg.freedesktop.org' arch: x86_64 depends: [] makedepends: - 'xorg-libxkbfile' source: - 'https://ftp.x.org/pub/individual/app/xkbcomp-${pkgver}.tar.xz' sha256sums: - SKIP build: | cd ${pkgname/xorg-/}-1.5.0 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static make package: | cd ${pkgname/xorg-/}-1.5.0 make DESTDIR="${PKGDIR}" install update: | local ext url name LINX LYNX="lynx -read_timeout=20 -dump -listonly -nonumbers " ext=".tar.bz2" url="https://ftp.x.org/archive//individual//app" $LYNX $url/?C=M\;O=D|grep "$ext$"|grep "$url/xkbcomp-"|sed "s@$ext\$@@"|sed "s@$url/xkbcomp-@@"|head -1