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