summaryrefslogtreecommitdiff
path: root/pcr/gspdf/PKGBUILD
blob: 90cc58a7798d64db9dd5c1bbf4fe73b5e460263b (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
26
27
# Contributor: libernux <dutchman55@gmx.com>
# Maintainer: <Stefan-Husmann@t-online.de>
pkgname=gspdf
pkgver=0.5
pkgrel=1
pkgdesc="GNUstep pdf and ps viewer"
arch=('i686' 'x86_64')
url="http://gap.nongnu.org/gspdf/index.html"
license=('GPL2')
depends=('gnustep-base' 'gnustep-gui' 'gnustep-back' 'ghostscript')
makedepends=('gcc-objc')
provides=('gspdf')
source=(http://savannah.nongnu.org/download/gap/GSPdf-$pkgver.tar.gz)
md5sums=('098acc3b5a28ede7deecf6db9c7faf4e')

build() {
  cd $srcdir/GSPdf-$pkgver
  # necessary to set environment if not in user startup.
  . /usr/share/GNUstep/Makefiles/GNUstep.sh
  make
}
package() {
  cd $srcdir/GSPdf-$pkgver
  . /usr/share/GNUstep/Makefiles/GNUstep.sh
  make DESTDIR=$pkgdir install
}