diff options
Diffstat (limited to 'audio/kanola/kanola.SlackBuild')
-rw-r--r-- | audio/kanola/kanola.SlackBuild | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/audio/kanola/kanola.SlackBuild b/audio/kanola/kanola.SlackBuild index 3d91a90c1e..cdeec79833 100644 --- a/audio/kanola/kanola.SlackBuild +++ b/audio/kanola/kanola.SlackBuild @@ -24,19 +24,18 @@ # Modified by the SlackBuilds.org project -set -e - PRGNAM=kanola VERSION=0.1 -ARCH=noarch +ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} + CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -# This program is a python (noarch) program, so the CFLAGS have been left out +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -47,8 +46,6 @@ cd $PRGNAM-$VERSION chown -R root:root . chmod -R a-s,u+w,go+r-w . -# ./configure is not used here -# Python applications use setup.py /usr/bin/python setup.py install --prefix $PKG/usr mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION @@ -59,4 +56,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} |