updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / a2pdf / PKGBUILD
bloba7704247b210ad47c0a766344b4c93de0742d705
1 # Contributor: Dan Serban
3 pkgname=a2pdf
4 pkgver=1.13
5 pkgrel=1
6 pkgdesc="Converts ASCII text to PDF format, with optional page/line numbering"
7 arch=(any)
8 url=http://perl.jonallen.info/projects/a2pdf
9 license=(PerlArtistic)
10 depends=(perl-pdf-api2)
11 source=("http://perl.jonallen.info/attachment/26/a2pdf-${pkgver}.tar.gz")
12 md5sums=('5f397b6faf2f29641e90fc308d6cff99')
14 build()
16   cd a2pdf-${pkgver}
17   perl Makefile.PL
18   make
19   make test
20   make DESTDIR="$pkgdir" install
21   cd "$pkgdir/usr/bin"
22   mv site_perl/a2pdf .
23   rmdir site_perl
24   sed -i 's/^  perl_syntax   => 1/  perl_syntax   => 0/' a2pdf