PKGBUILDs/extra/libspectre/PKGBUILD
2009-10-09 21:23:22 -05:00

21 lines
583 B
Bash

# $Id: $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=libspectre
pkgver=0.2.2
pkgrel=2
pkgdesc="Small library for rendering Postscript documents"
arch=(i686 x86_64)
license=('GPL2')
url="http://libspectre.freedesktop.org/wiki/"
depends=('ghostscript')
options=('!libtool')
source=(http://libspectre.freedesktop.org/releases/${pkgname}-${pkgver}.tar.gz)
md5sums=('0600653653d9313e3be135b2217ea7fd')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --disable-static || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
}