updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / epssplit / PKGBUILD
blob87fa0f83c9f9cc2238b2e868241f57a4a98b8ff2
1 # Contributor: Alexander 'hatred' Drozdov <adrozdoff@gmail.com>
2 pkgname=epssplit
3 pkgver=1.1.0
4 pkgrel=1
5 pkgdesc="The perl program for splitting an EPS file into several smaller EPS files."
6 arch=(any)
7 url="http://home.clara.net/nox/software/epssplit/"
8 license=('GPL')
9 depends=('perl>=5.0')
11 source=(http://home.clara.net/nox/software/$pkgname/$pkgname-$pkgver.tar.bz2)
13 build() {
14   cd "$srcdir/$pkgname-$pkgver"
16   pod2man -r "$pkgname $pkgver" -c '' devel/epssplit.pod | gzip -9 > epssplit.1.gz
18   _perldir="/usr/share/perl5/vendor_perl/"
19   _docdir="/usr/share/doc/$pkgname/"
20   _bindir="/usr/bin/"
21   _mandir="/usr/share/man/man1/"
23   install -d -m 755 $pkgdir$_perldir
24   install -d -m 755 $pkgdir$_docdir
25   install -d -m 755 $pkgdir$_bindir
26   install -d -m 755 $pkgdir$_docdir/html
28   install -m 644 *.pm           $pkgdir/$_perldir
29   install -m 755 epssplit       $pkgdir/$_bindir
30   install -m 644 README         $pkgdir/$_docdir
31   install -m 644 doc-html-png/* $pkgdir/$_docdir/html
33   install -m 644 -D epssplit.1.gz $pkgdir/$_mandir/epssplit.1.gz
36 md5sums=('1b9342ddef8887e2f7f26906b809480d')