updated on Mon Jan 23 20:11:11 UTC 2012
[aur-mirror.git] / pdfjumbler / PKGBUILD
blobd18410c651fe95939900827824c165ea50a625ee
1 # Maintainer: Francois Boulogne < fboulogne at april dot org >
2 pkgname=pdfjumbler
3 pkgver=0.16
4 pkgrel=2
5 pkgdesc="A simple tool to rearrange/merge/delete pages from PDF files"
6 arch=('i686' 'x86_64')
7 url="http://sourceforge.net/projects/pdfjumbler/"
8 license=('AGPL')
9 depends=(java-environment)
10 source=(http://downloads.sourceforge.net/pdfjumbler/${pkgname}-${pkgver}.jar)
11 md5sums=('a56fefbd6f7b09c9b1e71ef53b87eb9e')
13 build() {
14   cd ${srcdir}
16   echo "#!/bin/sh" > ${pkgname}
17   echo "java -jar /usr/share/${pkgname}/${pkgname}-${pkgver}.jar" >> ${pkgname}
19   install -d ${pkgdir}/usr/{bin,share/${pkgname}}
20   install ${pkgname} ${pkgdir}/usr/bin/${pkgname}
21   install ${pkgname}-${pkgver}.jar  ${pkgdir}/usr/share/${pkgname}/