summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/pyPdf/pyPdf.SlackBuild5
-rw-r--r--libraries/pyPdf/pyPdf.info2
2 files changed, 4 insertions, 3 deletions
diff --git a/libraries/pyPdf/pyPdf.SlackBuild b/libraries/pyPdf/pyPdf.SlackBuild
index 18c0ab16ec..8511ff0638 100644
--- a/libraries/pyPdf/pyPdf.SlackBuild
+++ b/libraries/pyPdf/pyPdf.SlackBuild
@@ -51,8 +51,7 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-python setup.py bdist
-tar zxvf dist/$PRGNAM-$VERSION.linux-i686.tar.gz -C $PKG
+python setup.py install --root=$PKG
( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
@@ -69,4 +68,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/libraries/pyPdf/pyPdf.info b/libraries/pyPdf/pyPdf.info
index 626fd8e612..64dbc51eea 100644
--- a/libraries/pyPdf/pyPdf.info
+++ b/libraries/pyPdf/pyPdf.info
@@ -2,7 +2,9 @@ PRGNAM="pyPdf"
VERSION="1.12"
HOMEPAGE="http://pybrary.net/pyPdf/"
DOWNLOAD="http://pybrary.net/pyPdf/pyPdf-1.12.tar.gz"
+DOWNLOAD_x86_64=""
MD5SUM="7be5f7f4659f64fd194e9eb9a38ad425"
+MD5SUM_x86_64=""
MAINTAINER="Marco Bonetti"
EMAIL="sid77@slackware.it"
APPROVED="dsomero"