summaryrefslogtreecommitdiff
path: root/ham/xdemorse/xdemorse.SlackBuild
diff options
context:
space:
mode:
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