mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
ham/xdemorse: Updated for version 2.9.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
736faf69b0
commit
c2b8e42e83
3 changed files with 19 additions and 4 deletions
|
@ -21,7 +21,7 @@
|
||||||
# that is unlikely, as I am rather tall.
|
# that is unlikely, as I am rather tall.
|
||||||
|
|
||||||
PRGNAM=xdemorse
|
PRGNAM=xdemorse
|
||||||
VERSION=${VERSION:-2.7}
|
VERSION=${VERSION:-2.9}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
|
@ -67,6 +67,9 @@ find -L . \
|
||||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||||
|
|
||||||
|
# Fixup desktop file a tad
|
||||||
|
patch -p1 < $CWD/xdemorse.desktop.patch
|
||||||
|
|
||||||
CFLAGS="$SLKCFLAGS" \
|
CFLAGS="$SLKCFLAGS" \
|
||||||
CXXFLAGS="$SLKCFLAGS" \
|
CXXFLAGS="$SLKCFLAGS" \
|
||||||
./configure \
|
./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 -name "Makefile" -exec rm {} \;
|
||||||
find $PKG/usr/doc -type f -exec chmod 644 {} \;
|
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
|
mkdir -p $PKG/install
|
||||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||||
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||||
|
|
9
ham/xdemorse/xdemorse.desktop.patch
Normal file
9
ham/xdemorse/xdemorse.desktop.patch
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
--- xdemorse-2.9/files/xdemorse.desktop 2014-03-05 23:47:02.000000000 -0600
|
||||||
|
+++ xdemorse.desktop 2015-05-15 19:54:54.820332678 -0500
|
||||||
|
@@ -5,5 +5,5 @@
|
||||||
|
Exec=xdemorse
|
||||||
|
Type=Application
|
||||||
|
Icon=xdemorse.xpm
|
||||||
|
-Categories=Audio
|
||||||
|
+Categories=Audio;HamRadio;Morse;
|
||||||
|
Keywords=hamradio;amateur;radio;morse;code;gtk;signal
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="xdemorse"
|
PRGNAM="xdemorse"
|
||||||
VERSION="2.7"
|
VERSION="2.9"
|
||||||
HOMEPAGE="http://www.qsl.net/5b4az/"
|
HOMEPAGE="http://www.qsl.net/5b4az/"
|
||||||
DOWNLOAD="http://www.qsl.net/5b4az/pkg/morse/xdemorse/xdemorse-2.7.tar.bz2"
|
DOWNLOAD="http://www.qsl.net/5b4az/pkg/morse/xdemorse/xdemorse-2.9.tar.bz2"
|
||||||
MD5SUM="108fd5264473648943e297463825332b"
|
MD5SUM="c8b0556a6d3d7605f4d037ee2f48093c"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES=""
|
REQUIRES=""
|
||||||
|
|
Loading…
Reference in a new issue