diff options
Diffstat (limited to 'user/libspiro/APKBUILD')
-rw-r--r-- | user/libspiro/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/user/libspiro/APKBUILD b/user/libspiro/APKBUILD new file mode 100644 index 000000000..e99d80270 --- /dev/null +++ b/user/libspiro/APKBUILD @@ -0,0 +1,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" |