diff options
author | Erik Hanson <erik@slackbuilds.org> | 2011-10-24 20:03:33 -0500 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-11-04 22:02:24 -0200 |
commit | 8b361672944aa4f96912097c5184a8db1166ecf8 (patch) | |
tree | 94bc7a020cda51725eb4cd8e656a4121520b044a /audio | |
parent | 755618cf2fba744db157ef071dbefd30de663f26 (diff) | |
download | slackbuilds-8b361672944aa4f96912097c5184a8db1166ecf8.tar.gz |
audio/pd: Fix PKGTYPE and BUILD.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'audio')
-rw-r--r-- | audio/pd/pd.SlackBuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/audio/pd/pd.SlackBuild b/audio/pd/pd.SlackBuild index f9b6a00c30..f8598f974f 100644 --- a/audio/pd/pd.SlackBuild +++ b/audio/pd/pd.SlackBuild @@ -15,8 +15,9 @@ PRGNAM=pd VERSION=${VERSION:-0.43-0} CANONICALIZEDVERSION=$(echo $VERSION | tr - .) -BUILD=${BUILD:-2} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} + if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; @@ -24,6 +25,7 @@ if [ -z "$ARCH" ]; then *) ARCH=$( uname -m ) ;; esac fi + CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM @@ -98,4 +100,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$CANONICALIZEDVERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$CANONICALIZEDVERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |