summaryrefslogtreecommitdiff
path: root/libraries/python-xlib/python-xlib.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/python-xlib/python-xlib.SlackBuild')
-rw-r--r--libraries/python-xlib/python-xlib.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/python-xlib/python-xlib.SlackBuild b/libraries/python-xlib/python-xlib.SlackBuild
index c58866ad71..8f81b8aa2f 100644
--- a/libraries/python-xlib/python-xlib.SlackBuild
+++ b/libraries/python-xlib/python-xlib.SlackBuild
@@ -7,7 +7,7 @@
PRGNAM=python-xlib
VERSION=0.14
-ARCH=noarch # package has no C/C++ code, it is architecture independent
+ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -37,4 +37,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}