summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/kanola/kanola.SlackBuild11
-rw-r--r--audio/kanola/kanola.info2
2 files changed, 6 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}
diff --git a/audio/kanola/kanola.info b/audio/kanola/kanola.info
index baa835fb54..f821f9cb0d 100644
--- a/audio/kanola/kanola.info
+++ b/audio/kanola/kanola.info
@@ -2,7 +2,9 @@ PRGNAM="kanola"
VERSION="0.1"
HOMEPAGE="http://dadexter.googlepages.com/kanola"
DOWNLOAD="http://dadexter.googlepages.com/kanola-0.1.tar.gz"
+DOWNLOAD_x86_64=""
MD5SUM="13d923d97445012bbe5e8bdf181af90a"
+MD5SUM_x86_64=""
MAINTAINER="Martin Lefebvre"
EMAIL="dadexter@gmail.com"
APPROVED="rworkman"