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 | |
parent | 1699cd186c683cfd699d46c04d5811498c7ef39a (diff) | |
download | slackbuilds-23cc2353383a19c7ea9b40eaa5d61f07cf36288a.tar.gz |
python/pyPdf: Fixed tarball handling.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'python/pyPdf')
-rw-r--r-- | python/pyPdf/pyPdf.SlackBuild | 8 | ||||
-rw-r--r-- | python/pyPdf/pyPdf.info | 2 |
2 files changed, 4 insertions, 6 deletions
diff --git a/python/pyPdf/pyPdf.SlackBuild b/python/pyPdf/pyPdf.SlackBuild index 8facf6c0a1..8b26dd6f22 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 \ diff --git a/python/pyPdf/pyPdf.info b/python/pyPdf/pyPdf.info index 6f051ec010..f8b4408dce 100644 --- a/python/pyPdf/pyPdf.info +++ b/python/pyPdf/pyPdf.info @@ -1,7 +1,7 @@ PRGNAM="pyPdf" VERSION="1.26.0" HOMEPAGE="https://mstamy2.github.io/PyPDF2/" -DOWNLOAD="https://github.com/mstamy2/PyPDF2/archive/1.26.0/pyPDF2-1.26.0.tar.gz" +DOWNLOAD="https://github.com/mstamy2/PyPDF2/archive/1.26.0/PyPDF2-1.26.0.tar.gz" MD5SUM="3959e3a15606e4b6c0405487cefb4e21" DOWNLOAD_x86_64="" MD5SUM_x86_64="" |