diff options
| author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-06-08 01:21:15 +0700 |
|---|---|---|
| committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-06-08 01:21:15 +0700 |
| commit | 525296d08027fd237883862ef58cad2ebfebe5c6 (patch) | |
| tree | 62a1e8e91ebe1bc2f8e0c0e6d3a2fe2cfa1ebe4e /python/PyPDF2/PyPDF2.SlackBuild | |
| parent | 3d4cf4f31cee5d4cacbc26ab8b444a05820d9bae (diff) | |
python/PyPDF2: Update source.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 \ |
