1 # Contributor: Alexander 'hatred' Drozdov <adrozdoff@gmail.com>
5 pkgdesc="The perl program for splitting an EPS file into several smaller EPS files."
7 url="http://home.clara.net/nox/software/epssplit/"
11 source=(http://home.clara.net/nox/software/$pkgname/$pkgname-$pkgver.tar.bz2)
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/"
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')