python/pyPdf: Fixed tarball handling.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
David Spencer 2016-12-24 16:41:09 +00:00
parent e5ca0c0dcb
commit fda7c4b2de
2 changed files with 2 additions and 3 deletions

View File

@ -24,7 +24,6 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pyPdf
SRCNAM=pyPDF
VERSION=${VERSION:-1.26.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -53,7 +52,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCDIRNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
tar xvf $CWD/$SRCDIRNAM-$VERSION.tar.gz
cd $SRCDIRNAM-$VERSION
chown -R root:root .
find -L . \

View File

@ -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/pyPDF-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=""