updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / joinpdf / PKGBUILD
blob958cfbdffdfd08912f037bfdd73fc5a46102eaa4
1 # Contributor: Niel Drummond <niel.drummond@grumpytoad.org>
2 pkgname=joinpdf
3 pkgver=2.1
4 pkgrel=1
5 pkgdesc="joinPDF is a command line tool to join and split PDF files."
6 arch=('i686' 'x86_64')
7 url="http://freshmeat.net/projects/joinpdf/"
8 license=('GPL')
9 depends=('jre')
10 provides=('joinpdf')
11 source=(
12         "http://freshmeat.net/redir/joinpdf/50456/url_tgz/joinPDF2.1.tgz"
13         "fix_path.diff.gz"
15 md5sums=(
16         '457c40ea4eeb58dfcf1d69f9a87de6bd'
17         'ed9694d2f078064f864120ec213cfa55'
20 build() {
21                 cd ${pkgname}${pkgver}
22                 cat "${startdir}/src/fix_path.diff" | patch -u -p1
23                 install -D -m755 ./install/joinPDF "${startdir}/pkg/usr/bin/joinPDF" || exit 1
24                 install -D -m755 ./install/splitPDF "${startdir}/pkg/usr/bin/splitPDF" || exit 1
25                 install -D -m644 ./install/PDF.jar "${startdir}/pkg/usr/lib/PDF.jar" || exit 1