summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFran├žois Boulogne2015-06-09 21:31:58 -0400
committerFran├žois Boulogne2015-06-09 21:31:58 -0400
commit3575a32c2840a4de200e2ed0e0777a7af90a0bff (patch)
tree321aac0482d58563bf40d30e68c91d1b3d1c70d4
downloadaur-pdfjumbler.tar.gz
Initial import
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD25
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..bc6fb6fb812
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = pdfjumbler
+ pkgdesc = A simple tool to rearrange/merge/delete pages from PDF files
+ pkgver = 0.16
+ pkgrel = 6
+ url = http://sourceforge.net/projects/pdfjumbler/
+ arch = i686
+ arch = x86_64
+ license = AGPL
+ depends = java-runtime
+ source = http://downloads.sourceforge.net/pdfjumbler/pdfjumbler-0.16.jar
+ md5sums = a56fefbd6f7b09c9b1e71ef53b87eb9e
+
+pkgname = pdfjumbler
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..041cfc15594
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Francois Boulogne < fboulogne at april dot org >
+pkgname=pdfjumbler
+pkgver=0.16
+pkgrel=6
+pkgdesc="A simple tool to rearrange/merge/delete pages from PDF files"
+arch=('i686' 'x86_64')
+url="http://sourceforge.net/projects/pdfjumbler/"
+license=('AGPL')
+depends=(java-runtime)
+source=(http://downloads.sourceforge.net/pdfjumbler/${pkgname}-${pkgver}.jar)
+md5sums=('a56fefbd6f7b09c9b1e71ef53b87eb9e')
+
+prepare() {
+ cd "${srcdir}"
+
+ echo "#!/bin/sh" > "${pkgname}"
+ echo "java -jar /usr/share/${pkgname}/${pkgname}-${pkgver}.jar" >> "${pkgname}"
+}
+
+package() {
+ cd "${srcdir}"
+ install -d "${pkgdir}"/usr/{bin,share/"${pkgname}"}
+ install "${pkgname}" "${pkgdir}"/usr/bin/"${pkgname}"
+ install "${pkgname}"-"${pkgver}".jar "${pkgdir}"/usr/share/"${pkgname}"
+}