diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2017-01-18 23:20:57 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-01-21 07:04:32 +0700 |
commit | 23cc2353383a19c7ea9b40eaa5d61f07cf36288a (patch) | |
tree | b88a985e6685ce26e69ca507ed9132c670e56954 /python/pyPdf/pyPdf.SlackBuild | |
parent | 1699cd186c683cfd699d46c04d5811498c7ef39a (diff) |
python/pyPdf: Fixed tarball handling.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'python/pyPdf/pyPdf.SlackBuild')
-rw-r--r-- | python/pyPdf/pyPdf.SlackBuild | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/python/pyPdf/pyPdf.SlackBuild b/python/pyPdf/pyPdf.SlackBuild index 8facf6c0a1b29..8b26dd6f22a71 100644 --- a/python/pyPdf/pyPdf.SlackBuild +++ b/python/pyPdf/pyPdf.SlackBuild @@ -24,13 +24,11 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=pyPdf -SRCNAM=pyPDF2 +SRCNAM=PyPDF2 VERSION=${VERSION:-1.26.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -SRCDIRNAM=PyPDF2 - if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; @@ -66,9 +64,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $SRCDIRNAM-$VERSION +rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz -cd $SRCDIRNAM-$VERSION +cd $SRCNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ |