pkgname: libtasn1 pkgver: '4.21.0' pkgrel: '1' pkgdesc: 'Highly portable C library that encodes and decodes DER/BER data following an ASN.1 schema.' url: 'http://www.gnu.org/software/gnutls/' arch: x86_64 depends: [] makedepends: [] source: - 'https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz' sha256sums: - SKIP build: | cd ${pkgname}-${pkgver} ./configure --prefix=/usr \ --disable-static \ --mandir=/usr/share/man \ --infodir=/usr/share/info make make DESTDIR=${PKGDIR} install rm -f ${PKGDIR}/usr/lib/${pkgname}.la package: | true update: | local url ext url="https://ftp.gnu.org/gnu/${pkgname}/" ext=".tar.gz" 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