summaryrefslogtreecommitdiff
path: root/extra/libspectre/PKGBUILD
blob: 08a6f79529bae3099c0e8b7e478b8ccc1b4019e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# $Id: PKGBUILD 151274 2012-02-25 10:45:30Z allan $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=libspectre
pkgver=0.2.6
pkgrel=3
pkgdesc="Small library for rendering Postscript documents"
arch=('i686' 'x86_64')
license=('GPL2')
url="http://libspectre.freedesktop.org/wiki/"
depends=('ghostscript>=9.00')
options=('!libtool')
source=(http://libspectre.freedesktop.org/releases/${pkgname}-${pkgver}.tar.gz)
sha1sums=('819475c7e34a1e9bc2e876110fee530b42aecabd')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr --disable-static
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}