summaryrefslogtreecommitdiff
path: root/ham/xdemorse/xdemorse.SlackBuild
diff options
context:
space:
mode:
authorJK Wood <joshuakwood@gmail.com>2015-05-16 09:19:07 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-05-16 09:23:31 +0700
commitc2b8e42e83f0d68fdab627d4defb698c6c33fecf (patch)
treed8c9aba4efc4157ab52e4218623a363d9edd96fd /ham/xdemorse/xdemorse.SlackBuild
parent736faf69b06a4a968a2480b2632bd770917688b4 (diff)
downloadslackbuilds-c2b8e42e83f0d68fdab627d4defb698c6c33fecf.tar.gz
ham/xdemorse: Updated for version 2.9.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'ham/xdemorse/xdemorse.SlackBuild')
-rw-r--r--ham/xdemorse/xdemorse.SlackBuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/ham/xdemorse/xdemorse.SlackBuild b/ham/xdemorse/xdemorse.SlackBuild
index 2383a78c55..7ed2ee8070 100644
--- a/ham/xdemorse/xdemorse.SlackBuild
+++ b/ham/xdemorse/xdemorse.SlackBuild
@@ -21,7 +21,7 @@
# that is unlikely, as I am rather tall.
PRGNAM=xdemorse
-VERSION=${VERSION:-2.7}
+VERSION=${VERSION:-2.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -67,6 +67,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Fixup desktop file a tad
+patch -p1 < $CWD/xdemorse.desktop.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -94,6 +97,9 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc -name "Makefile" -exec rm {} \;
find $PKG/usr/doc -type f -exec chmod 644 {} \;
+# Fixup the desktop file a hair
+sed -i s#Audio#HamRadio\;Digital\;Audio\;AudioVideo\;#g $PKG/usr/share/applications/xdemorse.desktop
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh