updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / impose+ / PKGBUILD
blobb85c3423dc8c3aaa807d35d095a5eec334cb445a
1 # Contributor: Piotr Rogoża <rogoza dot piotr at gmail dot com>
2 # Created: 21/09/2010
3 pkgname=impose+
4 pkgver=0.2
5 pkgrel=3
6 pkgdesc='impose+ is a set of postscript utilities'
7 arch=('any')
8 url='http://freshmeat.net/projects/impose/'
9 license=('GPL')
10 depends=(perl)
11 source=("http://imagic.weizmann.ac.il/~dov/freesw/impose+/${pkgname}-${pkgver}.tar.gz"
12 "impose.1.gz" "fixtd.1.gz" "psbl.1.gz" "bboxx.1.gz")
14 build() {
16   cd "$srcdir/$pkgname-$pkgver" || return 1
17   sed -i 's#/usr/local/bin/perl#/usr/bin/perl#' psbl fixtd || return 1
19   install -dm755 ${pkgdir}/usr/bin || return 1
20   for i in psbl impose fixtd bboxx; do
21     install -Dm755 $i ${pkgdir}/usr/bin/ || return 1
22   done
24   install -dm755 ${pkgdir}/usr/share/doc/impose+ || return 1
25   install -Dm644 html/* ${pkgdir}/usr/share/doc/impose+/ || return 1
27   install -dm755 ${pkgdir}/usr/share/impose+ || return 1
29   for i in AUTHORS README TODO; do
30      install -Dm644 $i ${pkgdir}/usr/share/impose+/ || return 1
31    done
33    install -dm755 ${pkgdir}/usr/share/man/man1 || return 1
34    install -Dm644 ../*.1.gz ${pkgdir}/usr/share/man/man1/ || return 1
37 # vim:set ts=2 sw=2 et ft=sh tw=100:
39 md5sums=('0aed00e591065cc808d6645950f18022'
40          'dab5fffd5eda45b14ac6bf4cef08cb57'
41          '25a3979ec009ca12767d8f683754cfb1'
42          '3f51dde4ed4573e7c3f9157db4ef5c42'
43          'a8fff258aed85baeba58a660e81b31ad')