aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/asunder/asunder.SlackBuild6
-rw-r--r--audio/asunder/asunder.info2
-rw-r--r--audio/asunder/doinst.sh4
3 files changed, 9 insertions, 3 deletions
diff --git a/audio/asunder/asunder.SlackBuild b/audio/asunder/asunder.SlackBuild
index d5b57a32e76f..fa8b75bf0197 100644
--- a/audio/asunder/asunder.SlackBuild
+++ b/audio/asunder/asunder.SlackBuild
@@ -35,10 +35,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
rm -rf $PKG
@@ -57,6 +60,7 @@ find . \
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--build=$ARCH-slackware-linux \
@@ -75,4 +79,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
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/asunder/asunder.info b/audio/asunder/asunder.info
index 838809dce228..d8dd89c16a10 100644
--- a/audio/asunder/asunder.info
+++ b/audio/asunder/asunder.info
@@ -2,7 +2,9 @@ PRGNAM="asunder"
VERSION="1.6.2"
HOMEPAGE="http://littlesvr.ca/asunder/"
DOWNLOAD="http://littlesvr.ca/asunder/releases/asunder-1.6.2.tar.bz2"
+DOWNLOAD_x86_64=""
MD5SUM="6e9bd170497cb9cd36a544bd36e9634c"
+MD5SUM_x86_64=""
MAINTAINER="Frank Caraballo"
EMAIL="fecaraballo{at}gmail{dot}com"
APPROVED="Michiel"
diff --git a/audio/asunder/doinst.sh b/audio/asunder/doinst.sh
index 5dc6bb58c008..140e33222297 100644
--- a/audio/asunder/doinst.sh
+++ b/audio/asunder/doinst.sh
@@ -1,3 +1,3 @@
-if [ -x usr/bin/update-desktop-database ]; then
- usr/bin/update-desktop-database -q usr/share/applications
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications
fi