summaryrefslogtreecommitdiff
path: root/community/pdftrans/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/pdftrans/PKGBUILD')
-rw-r--r--community/pdftrans/PKGBUILD26
1 files changed, 0 insertions, 26 deletions
diff --git a/community/pdftrans/PKGBUILD b/community/pdftrans/PKGBUILD
deleted file mode 100644
index 47b15bfea..000000000
--- a/community/pdftrans/PKGBUILD
+++ /dev/null
@@ -1,26 +0,0 @@
-# Contributor: Jaroslaw Swierczynski <swiergot@aur.archlinux.org>
-
-pkgname=pdftrans
-pkgver=1.2
-pkgrel=7
-arch=('i686' 'x86_64' 'mips64el')
-pkgdesc="A utility to add metadata, protect, and encrypt PDF documents"
-url="http://maddingue.free.fr/softwares/pdftrans.html.en"
-license=('GPL')
-depends=('java-runtime' 'itext' 'bcprov')
-source=(http://maddingue.free.fr/softwares/download/PDFTrans/$pkgname-$pkgver.zip \
- $pkgname.sh)
-md5sums=('1d3677f7101ba5e27492b02843017d26' '1be06ba6669dfd895aadbd308f37715a')
-
-build() {
- install -D $pkgname.sh $pkgdir/usr/bin/$pkgname
-
- cd $pkgname
-
- # fix http://bugs.archlinux.org/task/19295 FS#19295 - [pdftrans] needs updating to follow itext java class renaming
- sed 's/lowagie/itextpdf/' -i src/PDFTrans.java
- javac -classpath /usr/share/java/itext/itext.jar -d classes src/PDFTrans.java
-
- install -D -m644 classes/PDFTrans.class $pkgdir/usr/share/java/$pkgname/PDFTrans.class
- install -D -m644 doc/pdftrans.1 $pkgdir/usr/share/man/man1/pdftrans.1
-}