summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--abs/core/libspectre/PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/abs/core/libspectre/PKGBUILD b/abs/core/libspectre/PKGBUILD
new file mode 100644
index 0000000..0ee5052
--- /dev/null
+++ b/abs/core/libspectre/PKGBUILD
@@ -0,0 +1,25 @@
+# $Id: PKGBUILD 165038 2012-08-09 11:32:27Z jgc $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
+pkgname=libspectre
+pkgver=0.2.7
+pkgrel=1
+pkgdesc="Small library for rendering Postscript documents"
+arch=('i686' 'x86_64')
+license=('GPL2')
+url="http://www.freedesktop.org/wiki/Software/libspectre"
+depends=('ghostscript>=9.00')
+options=('!libtool')
+source=(http://libspectre.freedesktop.org/releases/${pkgname}-${pkgver}.tar.gz)
+sha1sums=('a7efd97b82b84ff1bb7a0d88c7e35ad10cc84ea8')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr --disable-static
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}