diff options
Diffstat (limited to 'python/PyPDF2/PyPDF2.SlackBuild')
| -rw-r--r-- | python/PyPDF2/PyPDF2.SlackBuild | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/python/PyPDF2/PyPDF2.SlackBuild b/python/PyPDF2/PyPDF2.SlackBuild index 50ecac0f2e..9e67b2f982 100644 --- a/python/PyPDF2/PyPDF2.SlackBuild +++ b/python/PyPDF2/PyPDF2.SlackBuild @@ -26,6 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=PyPDF2 +SRCNAM=pypdf VERSION=${VERSION:-1.26.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -39,9 +40,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -73,9 +71,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ |
