1 # Contributor: Jonathan Liu <net147@hotmail.com>
2 # Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
8 pkgdesc="A bitmap-to-eps-or-pdf-converter that produces very small files"
10 url="http://www.inf.bme.hu/~pts"
12 # depends=('gcc-libs') is part of "base" group, which "is assumed to be installed on all Arch Linux systems"
13 optdepends=('ghostscript: PS, EPS, PDF support'
14 'libjpeg: JPEG support'
15 'tif22pnm: for tiff and png support')
16 # 'netpbm: PNG support'
17 source=("http://sam2p.googlecode.com/files/$pkgname-$pkgver.tar.gz")
18 md5sums=('fe518b3d69a95b7b4114dfd84b69badf')
21 cd "$srcdir/$pkgname-$pkgver"
22 ./configure --prefix="$pkgdir"/usr --enable-lzw --enable-gif
27 cd "$srcdir/$pkgname-$pkgver"
30 install -D -m644 README "$pkgdir"/usr/share/sam2p/docs/README