summaryrefslogtreecommitdiff
path: root/user/libspiro
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2022-04-30 15:53:37 +0000
committerZach van Rijn <me@zv.io>2022-10-21 18:33:58 -0500
commitea1aa13fc4004944c44f7cfd71b58d992a82419a (patch)
treefc4d0aecce99c7efd8acd20cd625351b1a90ce78 /user/libspiro
parent596e09ab142ca792e807cf3423bcaacae5d663c2 (diff)
downloadpackages-ea1aa13fc4004944c44f7cfd71b58d992a82419a.tar.gz
packages-ea1aa13fc4004944c44f7cfd71b58d992a82419a.tar.bz2
packages-ea1aa13fc4004944c44f7cfd71b58d992a82419a.tar.xz
packages-ea1aa13fc4004944c44f7cfd71b58d992a82419a.zip
user/libspiro: new package.
Diffstat (limited to 'user/libspiro')
-rw-r--r--user/libspiro/APKBUILD37
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"