summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorcodemunkii2015-08-28 04:04:56 -0400
committercodemunkii2015-08-28 04:04:56 -0400
commite39077b3373db98bbc00e08479e6914de29eb594 (patch)
tree3b3c1dc699aea454c6dd0c71ee252a3f5e9a1272 /PKGBUILD
parent2b5984d48b7afc164d1d7a215a4cb7895fd75651 (diff)
downloadaur-e39077b3373db98bbc00e08479e6914de29eb594.tar.gz
Fix relative path issue: comment by olejorgenb on 20150825 at 2257
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 2 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index fba1d6bf34c4..b665c72a32b6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,9 +1,8 @@
# Maintainer: Ari Mizrahi <codemunchies at debugsecurity dot com>
-# Contributor: ArchAssault Project <https://www.archassault.org>
pkgname=peepdf
pkgver=svn
-pkgrel=4
+pkgrel=5
pkgdesc="A python tool to explore PDF files in order to find out if the file can be harmful or not"
arch=('any')
url=('http://code.google.com/p/peepdf/')
@@ -30,8 +29,7 @@ package() {
cat > "$pkgdir/usr/bin/peepdf" <<EOF
#!/bin/sh
-cd /usr/share/peepdf
-python2 peepdf.py "\$@"
+exec python2 /usr/share/peepdf/peepdf.py "\$@"
EOF
chmod +x "$pkgdir/usr/bin/peepdf"