summaryrefslogtreecommitdiff
path: root/system/oss/oss.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/oss/oss.SlackBuild')
-rw-r--r--system/oss/oss.SlackBuild12
1 files changed, 8 insertions, 4 deletions
diff --git a/system/oss/oss.SlackBuild b/system/oss/oss.SlackBuild
index ad73ca7658..636973cf8b 100644
--- a/system/oss/oss.SlackBuild
+++ b/system/oss/oss.SlackBuild
@@ -5,7 +5,7 @@
# Written by Dugan Chen (dugan [underscore] c [at] fastmail [dot] fm).
PRGNAM=oss
-VERSION=${VERSION:-4.2.2004}
+VERSION=${VERSION:-4.2.2005}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -41,7 +41,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e # Exit on most errors
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -77,12 +77,16 @@ mv $PKG/etc/oss.conf $PKG/etc/oss.conf.new
mkdir -p $PKG/etc/rc.d
cat $CWD/rc.oss > $PKG/etc/rc.d/rc.oss.new
+mkdir -p $PKG/usr/share/applications
+cat $CWD/ossxmix.desktop > $PKG/usr/share/applications/ossxmix.desktop
+
mkdir -p $PKG/etc/xdg/autostart
-cat $CWD/ossxmix.desktop > $PKG/etc/xdg/autostart/ossxmix.desktop
+( cd $PKG/etc/xdg/autostart
+ ln -sf /usr/share/applications/ossxmix.desktop .
+)
# Fix location of manual pages
mv $PKG/usr/share/man $PKG/usr
-rm -rf $PKG/usr/share
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING Changelog RELNOTES.txt $PKG/usr/doc/$PRGNAM-$VERSION