testing/libuninameslist: upgrade to 20190305

Closes: GH-7823
This commit is contained in:
Leo 2019-05-12 09:04:15 -03:00 committed by TBK
parent de1e86703e
commit fd956606b0
No known key found for this signature in database
GPG Key ID: 5FFB25718720C7D7

View File

@ -1,38 +1,38 @@
# Contributor: Ed Robinson <ed@reevoo.com>
# Maintainer: Ed Robinson <ed@reevoo.com>
pkgname=libuninameslist
pkgver=20170807
pkgver=20190305
pkgrel=0
pkgdesc="A Library of Unicode names and annotation data"
url="https://github.com/fontforge/libuninameslist"
arch="all"
license="BSD-3-Clause"
source="https://github.com/fontforge/$pkgname/releases/download/$pkgver/$pkgname-dist-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
makedepends="autoconf automake libtool"
subpackages="$pkgname-dev"
subpackages="$pkgname-static $pkgname-dev $pkgname-doc"
prepare() {
default_prepare
cd "$builddir"
autoreconf -i
automake --foreign
default_prepare
autoreconf -fi
}
build() {
cd "$builddir"
./configure --prefix=/usr
make
./configure --prefix=/usr
make
}
check() {
cd "$builddir"
make check
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
make DESTDIR="$pkgdir" install
}
sha512sums="f7ff21bff4322251e35e6957abdb1f6a17a54032c094ec71f68a42156cc10095680e0ea9cfde4d26ed7139e9d10af6d3e901eb4de2c2e430febf472f61dc039e libuninameslist-dist-20170807.tar.gz"
static() {
depends=""
pkgdesc="$pkgdesc (static library)"
mkdir -p "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/*.a "$subpkgdir"/usr/lib
}
sha512sums="4dc30a4f0919722c7538ed2eda39c3e63d072ee17c809ca25e0b6546d29110607c27c6e969839439c1432b4b40fca3e888c428ed26d1e0328a5f481a2db3cc73 libuninameslist-dist-20190305.tar.gz"