summaryrefslogtreecommitdiff
path: root/user/libspectre/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/libspectre/APKBUILD')
-rw-r--r--user/libspectre/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/user/libspectre/APKBUILD b/user/libspectre/APKBUILD
new file mode 100644
index 000000000..2e43f6abc
--- /dev/null
+++ b/user/libspectre/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=libspectre
+pkgver=0.2.8
+pkgrel=0
+pkgdesc="Library for rendering PostScript documents"
+url="https://www.freedesktop.org/wiki/Software/libspectre/"
+arch="all"
+license="GPL-2.0+"
+depends=""
+makedepends="cairo-dev gnu-ghostscript-dev"
+subpackages="$pkgname-dev"
+source="https://libspectre.freedesktop.org/releases/libspectre-$pkgver.tar.gz"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="ebbe7f6adcbc7f7d6af61f24e23b114116c878755dbe90f1163546c1284a005b4d539be01986c1f940611e84141ca19768b8effc2abf1013606da7c93547da86 libspectre-0.2.8.tar.gz"