mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-05 07:52:26 +01:00
39 lines
975 B
Plaintext
39 lines
975 B
Plaintext
# Contributor: Ed Robinson <ed@reevoo.com>
|
|
# Maintainer: Ed Robinson <ed@reevoo.com>
|
|
pkgname=libuninameslist
|
|
pkgver=20190701
|
|
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/libuninameslist/releases/download/$pkgver/libuninameslist-dist-$pkgver.tar.gz"
|
|
makedepends="autoconf automake libtool"
|
|
subpackages="$pkgname-static $pkgname-dev $pkgname-doc"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
autoreconf -fi
|
|
}
|
|
|
|
build() {
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
static() {
|
|
depends=""
|
|
pkgdesc="$pkgdesc (static library)"
|
|
mkdir -p "$subpkgdir"/usr/lib
|
|
mv "$pkgdir"/usr/lib/*.a "$subpkgdir"/usr/lib
|
|
}
|
|
sha512sums="05cd3cbba195e270e1cb23886d0fa666d47fbe5eb23b89388025683ae7e2380de43ac4137056ec8f386e53fc869218e7417566f29ccfd86f26168bcfe472ee52 libuninameslist-dist-20190701.tar.gz"
|