summaryrefslogtreecommitdiff
path: root/user/libspiro/APKBUILD
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-06-12 23:51:37 +0000
commitca59aabcf37015ac375d35a0fc4ae85b29f4fcfb (patch)
tree48075a735946662b93d5608dc5f77fe91eaaafe1 /user/libspiro/APKBUILD
parent947e8e8937fdaf9a75ce594e3100679660742f79 (diff)
downloadpackages-ca59aabcf37015ac375d35a0fc4ae85b29f4fcfb.tar.gz
packages-ca59aabcf37015ac375d35a0fc4ae85b29f4fcfb.tar.bz2
packages-ca59aabcf37015ac375d35a0fc4ae85b29f4fcfb.tar.xz
packages-ca59aabcf37015ac375d35a0fc4ae85b29f4fcfb.zip
user/libspiro: new package.
Diffstat (limited to 'user/libspiro/APKBUILD')
-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"