summaryrefslogtreecommitdiff
path: root/source/l/python-pillow/python-pillow.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/python-pillow/python-pillow.SlackBuild')
-rwxr-xr-xsource/l/python-pillow/python-pillow.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/l/python-pillow/python-pillow.SlackBuild b/source/l/python-pillow/python-pillow.SlackBuild
index dbd8ae1d..76e5743b 100755
--- a/source/l/python-pillow/python-pillow.SlackBuild
+++ b/source/l/python-pillow/python-pillow.SlackBuild
@@ -24,8 +24,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=python-pillow
-VERSION=${VERSION:-$(echo Pillow-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-$(echo Pillow-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
+BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -70,7 +70,7 @@ mkdir -p $TMP $PKG
cd $TMP
rm -rf Pillow-$VERSION
-tar xvf $CWD/Pillow-$VERSION.tar.*z* || exit 1
+tar xvf $CWD/Pillow-$VERSION.tar.?z || exit 1
cd Pillow-$VERSION
chown -R root:root .
find . \