pkgname: libdatrie pkgver: '0.2.14' pkgrel: '1' pkgdesc: 'Implementation of double-array structure for representing trie, as proposed by Junichi Aoe' url: 'https://linux.thai.net/~thep/datrie/datrie.html' arch: x86_64 depends: [] makedepends: [] source: - 'https://linux.thai.net/pub/thailinux/software/libthai/${pkgname}-${pkgver}.tar.xz' sha256sums: - SKIP build: | cd ${pkgname}-${pkgver} ./configure --prefix=/usr \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --disable-static make make DESTDIR=${PKGDIR} install rm -f ${PKGDIR}/usr/lib/${pkgname}.la package: | true update: | local url ext url="https://linux.thai.net/pub/thailinux/software/libthai/" ext=".tar.xz" lynx -read_timeout=20 -dump -listonly -nonumbers \ $url|grep ${pkgname}-[0-9]|grep $ext$|sed "s@$url${pkgname}-@@"|sed "s@$ext@@"|tail -1