pkgname: xorg-xrefresh pkgver: '1.1.1' pkgrel: '1' pkgdesc: Refresh all or part of an X screen. url: 'https://xorg.freedesktop.org' arch: x86_64 depends: [] makedepends: - xorg-libx11 source: - 'https://ftp.x.org/pub/individual/app/xrefresh-${pkgver}.tar.xz' sha256sums: - e947048130f6300e8be86573af8f225b486884fac14fcfe01bd913b41fa73bd3 build: | cd ${pkgname/xorg-/}-1.1.1 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static make package: | cd ${pkgname/xorg-/}-1.1.1 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/xrefresh-"|sed "s@$ext\$@@"|sed "s@$url/xrefresh-@@"|head -1