updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / jpeg2ps / PKGBUILD
blobcd2abe7f321dc4d96e3d5915b3f11c87daeb1312
1 # Contributor: Alexander 'hatred' Drozdov <adrozdoff@gmail.com>
2 pkgname=jpeg2ps
3 pkgver=1.9
4 pkgrel=1
5 pkgdesc="A utility for converting JPEG images to compressed PostScript Level 2 or 3 files"
6 arch=('i686' 'x86_64')
7 url="http://www.pdflib.com/download/free-software/jpeg2ps/"
8 license=('custom')
9 depends=('glibc')
11 source=(http://www.pdflib.com/fileadmin/pdflib/products/more/$pkgname/$pkgname-$pkgver.tar.gz
12         license.txt)
14 build() {
15   cd "$srcdir/$pkgname-$pkgver"
17   make || return 1
19   _bindir="/usr/bin"
20   _mandir="/usr/share/man/man1"
21   _docdir="/usr/share/doc/$pkgname"
23   install -D -m 755 $pkgname     $pkgdir/$_bindir/$pkgname
24   install -D -m 644 $pkgname.1   $pkgdir/$_mandir/$pkgname.1
25   install -D -m 644 $pkgname.txt $pkgdir/$_docdir/$pkgname.txt
27   install -D -m 644 $srcdir/license.txt $pkgdir/usr/share/licenses/$pkgname/license.txt
29 md5sums=('e654f6a584435e6717b6c2659c07db28'
30          'b66132da1d297ef486615c3c5e670416')