aboutsummaryrefslogtreecommitdiff
path: root/python/python-xkbcommon/python-xkbcommon.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/python-xkbcommon/python-xkbcommon.SlackBuild')
-rw-r--r--python/python-xkbcommon/python-xkbcommon.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/python/python-xkbcommon/python-xkbcommon.SlackBuild b/python/python-xkbcommon/python-xkbcommon.SlackBuild
index 85f0e6048a..a48de5f959 100644
--- a/python/python-xkbcommon/python-xkbcommon.SlackBuild
+++ b/python/python-xkbcommon/python-xkbcommon.SlackBuild
@@ -30,8 +30,6 @@ BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-SRCNAM=xkbcommon
-
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -71,9 +69,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf python-$SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
-cd python-$SRCNAM-$VERSION
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \