pkgname: help2man pkgver: '1.49.3' pkgrel: '2' pkgdesc: Conversion tool to create man files url: 'http://www.gnu.org/software/help2man/' arch: x86_64 depends: [] makedepends: - perl-locale-gettext source: - 'https://ftp.gnu.org/gnu/help2man/help2man-${pkgver}.tar.xz' sha256sums: - 4d7e4fdef2eca6afe07a2682151cea78781e0a4e8f9622142d9f70c083a2fd4f build: | cd ${pkgname}-${pkgver} ./configure --prefix=/usr \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --libdir=/usr/lib make package: "cd ${pkgname}-${pkgver}\nmake DESTDIR=${PKGDIR} install \n" update: | local url ext url="https://ftp.gnu.org/gnu/${pkgname}/" ext=".tar.xz" lynx -read_timeout=20 -dump -listonly -nonumbers \ $url?C=M\;O=A|grep ${pkgname}-[0-9]|grep [0-9]$ext$| \ sed "s@$url${pkgname}-@@"|sed "s@$ext@@"|tail -1