aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libuninameslist/APKBUILD
blob: 7ea628b4d381803cf55977d55b3dd18662be149a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Contributor: Ed Robinson <ed@reevoo.com>
# Maintainer: Ed Robinson <ed@reevoo.com>
pkgname=libuninameslist
pkgver=20170807
pkgrel=0
pkgdesc="A Library of Unicode names and annotation data"
url="https://github.com/fontforge/libuninameslist"
arch="all"
license="BSD3"
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"

prepare() {
        default_prepare

        cd "$builddir"
        autoreconf -i
        automake --foreign
}

build() {
        cd "$builddir"
        ./configure --prefix=/usr
        make
}

check() {
        cd "$builddir"
        make check
}

package() {
        cd "$builddir"
        make DESTDIR="$pkgdir" install
}
sha512sums="f7ff21bff4322251e35e6957abdb1f6a17a54032c094ec71f68a42156cc10095680e0ea9cfde4d26ed7139e9d10af6d3e901eb4de2c2e430febf472f61dc039e  libuninameslist-dist-20170807.tar.gz"