summaryrefslogtreecommitdiff
path: root/libraries/pyPdf/pyPdf.SlackBuild
diff options
context:
space:
mode:
authorMarco Bonetti <sid77@slackware.it>2010-05-13 00:33:08 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:33:08 +0200
commit4fa55ca12c610d235ec0b255d102a45fe821ba30 (patch)
tree8f11ba10619e54795130a69eb36eb3cdb601213d /libraries/pyPdf/pyPdf.SlackBuild
parentf46a5b1d0cb706a06b5c2e23be0a72a3bd5c3416 (diff)
downloadslackbuilds-4fa55ca12c610d235ec0b255d102a45fe821ba30.tar.gz
libraries/pyPdf: Updated for version 1.12
Diffstat (limited to 'libraries/pyPdf/pyPdf.SlackBuild')
-rw-r--r--libraries/pyPdf/pyPdf.SlackBuild5
1 files changed, 2 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}