summaryrefslogtreecommitdiff
path: root/user/libspectre
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-15 02:21:54 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-15 02:21:54 +0000
commit933ef0da765a96e2b3c0dcae271d1859e7e53877 (patch)
treedb3f85d6cc7e131962f3e349ba2339bb13208e0b /user/libspectre
parent2aa026cbdc1d4f071820b792744c279073a3013a (diff)
downloadpackages-933ef0da765a96e2b3c0dcae271d1859e7e53877.tar.gz
packages-933ef0da765a96e2b3c0dcae271d1859e7e53877.tar.bz2
packages-933ef0da765a96e2b3c0dcae271d1859e7e53877.tar.xz
packages-933ef0da765a96e2b3c0dcae271d1859e7e53877.zip
user/libspectre: new package
Diffstat (limited to 'user/libspectre')
-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"