aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libspiro/APKBUILD
blob: f392274e2a274554ec4c4e1d30617b364db223ef (plain) (blame)
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=libspiro
pkgver=0.5.20150702
pkgrel=0
pkgdesc="Spiro is the creation of Raph Levien. It simplifies the drawing of beautiful curves."
url="https://github.com/fontforge/libspiro"
arch="all"
license="GPL-3.0"
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 -Wall
}

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

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

package() {
        cd "$builddir"
        make DESTDIR="$pkgdir" install
}
sha512sums="ae09915b2738cc2448df2cb00831e65fa45e887a7af9631d7361f5d2fca0b800588ea1d7c74c42e0e250835f3a322e64d44a7b18b2fd6641ac61e6adc1f03da8  libspiro-dist-0.5.20150702.tar.gz"