summaryrefslogtreecommitdiff
path: root/user/libspiro/APKBUILD
blob: e99d802702eeb343a8e2c11bd8803c1ed15f3597 (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
# Contributor: Ed Robinson <ed@reevoo.com>
# Maintainer: Zach van Rijn <me@zv.io>
pkgname=libspiro
pkgver=20200505
pkgrel=0
pkgdesc="Spiro simplifies the drawing of beautiful curves"
url="https://github.com/fontforge/libspiro/blob/$pkgver/README.md"
arch="all"
license="GPL-3.0+"
depends=""
makedepends=""
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/fontforge/libspiro/releases/download/$pkgver/libspiro-dist-$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="84627e8925bd6090cd7d234a0b5f3ee109d3341d24c038a0fb1ce4c09ab97fe8fc7eb92bc5df040d559c5ebe3b4fc8f51652a2538e155be9b2f3c78b96b706ee  libspiro-dist-20200505.tar.gz"