diff --git a/multimedia/schismtracker/README b/audio/schismtracker/README similarity index 100% rename from multimedia/schismtracker/README rename to audio/schismtracker/README diff --git a/audio/schismtracker/doinst.sh b/audio/schismtracker/doinst.sh new file mode 100644 index 0000000000..3857649f50 --- /dev/null +++ b/audio/schismtracker/doinst.sh @@ -0,0 +1,3 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications &> /dev/null +fi diff --git a/multimedia/schismtracker/schismtracker.SlackBuild b/audio/schismtracker/schismtracker.SlackBuild similarity index 87% rename from multimedia/schismtracker/schismtracker.SlackBuild rename to audio/schismtracker/schismtracker.SlackBuild index cefd79b175..867b408f3e 100644 --- a/multimedia/schismtracker/schismtracker.SlackBuild +++ b/audio/schismtracker/schismtracker.SlackBuild @@ -1,13 +1,14 @@ -#!/bin/sh +#!/bin/sh -eu # Slackware build script for Schism Tracker # Written by Erik Hanson erik@slackbuilds.org PRGNAM=schismtracker -VERSION=0.5rc1 +VERSION=git20081102 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} + CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM @@ -21,10 +22,10 @@ fi rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -cd $TMP || exit 1 +cd $TMP rm -rf $PRGNAM-$VERSION -tar xjvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1 -cd $PRGNAM-$VERSION || exit 1 +tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . @@ -32,10 +33,9 @@ CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --sysconfdir=/etc \ - --localstatedir=/var \ - || exit 1 + --localstatedir=/var -make || exit 1 +make make install-strip DESTDIR=$PKG || exit 1 # Manually copy desktop file and icon diff --git a/multimedia/schismtracker/schismtracker.desktop b/audio/schismtracker/schismtracker.desktop similarity index 68% rename from multimedia/schismtracker/schismtracker.desktop rename to audio/schismtracker/schismtracker.desktop index 07d666d27b..58044c6aff 100644 --- a/multimedia/schismtracker/schismtracker.desktop +++ b/audio/schismtracker/schismtracker.desktop @@ -1,8 +1,7 @@ [Desktop Entry] -Encoding=UTF-8 Name=Schism Tracker GenericName=Impulse Tracker Clone Exec=schismtracker Icon=/usr/share/pixmaps/schism-icon-48.png Type=Application -Categories=Application;AudioVideo;AudioVideoEditing +Categories=AudioVideo;AudioVideoEditing; diff --git a/audio/schismtracker/schismtracker.info b/audio/schismtracker/schismtracker.info new file mode 100644 index 0000000000..4a0a15cc2f --- /dev/null +++ b/audio/schismtracker/schismtracker.info @@ -0,0 +1,8 @@ +PRGNAM="schismtracker" +VERSION="git20081102" +HOMEPAGE="http://rigelseven.com/schism/" +DOWNLOAD="http://slackbuilds.org/sources/12.1/schismtracker-git20081102.tar.bz2" +MD5SUM="2acf2a9067e509e193a443ca1fceda9a" +MAINTAINER="Erik Hanson" +EMAIL="erik@slackbuilds.org" +APPROVED="dsomero" diff --git a/multimedia/schismtracker/slack-desc b/audio/schismtracker/slack-desc similarity index 100% rename from multimedia/schismtracker/slack-desc rename to audio/schismtracker/slack-desc diff --git a/multimedia/schismtracker/doinst.sh b/multimedia/schismtracker/doinst.sh deleted file mode 100644 index 3412314ed0..0000000000 --- a/multimedia/schismtracker/doinst.sh +++ /dev/null @@ -1,5 +0,0 @@ - -if [ -x usr/bin/update-desktop-database ]; then - ./usr/bin/update-desktop-database ./usr/share/applications >/dev/null 2>&1 -fi - diff --git a/multimedia/schismtracker/schismtracker.info b/multimedia/schismtracker/schismtracker.info deleted file mode 100644 index 499e0846df..0000000000 --- a/multimedia/schismtracker/schismtracker.info +++ /dev/null @@ -1,8 +0,0 @@ -PRGNAM="schismtracker" -VERSION="0.5rc1" -HOMEPAGE="http://rigelseven.com/schism/" -DOWNLOAD="http://rigelseven.com/schism/dl/schismtracker-0.5rc1.tar.bz2" -MD5SUM="43b6220340f2b19a67e71623a44aa571" -MAINTAINER="Erik Hanson" -EMAIL="erik@slackbuilds.org" -APPROVED="elohim,rworkman"