aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libspiro/APKBUILD
blob: e51489b3cfbc0d22b8a22d6c20120e71869dd6c7 (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
# Contributor: Ed Robinson <ed@reevoo.com>
# Maintainer: Ed Robinson <ed@reevoo.com>
pkgname=libspiro
pkgver=20190731
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-or-later"
subpackages="$pkgname-dev"
source="https://github.com/fontforge/libspiro/releases/download/$pkgver/libspiro-$pkgver.tar.gz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		--disable-static
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}
sha512sums="3b53e2ecf06090f2c47483bc87941d98deb63c5b6f25a49d2983b987f40032dd5936974bb4df1686595d97f0b3e3f6cd9d008f3c05c39f9686b1d5ffb444ec49  libspiro-20190731.tar.gz"