summaryrefslogtreecommitdiff
path: root/extra/libspectre/PKGBUILD
blob: 37bee0358ac467b6b6c13763cbbab39add722f80 (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
# $Id: PKGBUILD 198240 2013-10-30 13:39:56Z allan $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=libspectre
pkgver=0.2.7
pkgrel=1.2
pkgdesc="Small library for rendering Postscript documents"
arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
url="http://www.freedesktop.org/wiki/Software/libspectre"
depends=('ghostscript>=9.00')
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
}