summaryrefslogtreecommitdiff
path: root/system/oss/oss.SlackBuild
diff options
context:
space:
mode:
authorDugan Chen <dugan [underscore] c [at] fastmail [dot] fm>2011-08-30 07:51:42 -0300
committerNiels Horn <niels.horn@slackbuilds.org>2011-08-30 07:51:42 -0300
commit6c2c4eb6dba68a9f07fa74cd28e854ab8a1c7e60 (patch)
tree5ba86b70d59b28ad92297810fc3800e57e40be64 /system/oss/oss.SlackBuild
parent2595b403f3ddc73eac5c3db43c075204191aa837 (diff)
downloadslackbuilds-6c2c4eb6dba68a9f07fa74cd28e854ab8a1c7e60.tar.gz
system/oss: Updated for version 4.2.2005.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
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