aboutsummaryrefslogtreecommitdiff
path: root/multimedia/OpenLP
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2014-04-14 14:10:51 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-04-14 14:10:51 +0700
commit22244a6ed670a2558e1a5e5c45b959c358200a83 (patch)
tree738d87b0c0b23200116dae407f0eb7665f3a1e49 /multimedia/OpenLP
parent00c276ebe63bc211790bd9e4024bd1653a29a0e7 (diff)
multimedia/OpenLP: Script cleanup.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/OpenLP')
-rw-r--r--multimedia/OpenLP/OpenLP.SlackBuild4
-rw-r--r--multimedia/OpenLP/OpenLP.desktop2
-rw-r--r--multimedia/OpenLP/doinst.sh4
3 files changed, 3 insertions, 7 deletions
diff --git a/multimedia/OpenLP/OpenLP.SlackBuild b/multimedia/OpenLP/OpenLP.SlackBuild
index 3e1fcb4b23032..a4db3e34ba7f3 100644
--- a/multimedia/OpenLP/OpenLP.SlackBuild
+++ b/multimedia/OpenLP/OpenLP.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=OpenLP
VERSION=${VERSION:-2.0.4}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -81,7 +81,7 @@ mkdir -p $PKG/usr/share/applications
install -D -m644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop
mkdir -p $PKG/usr/share/pixmaps/
-install -D -m644 resources/images/$PRGNAM.ico $PKG/usr/share/pixmaps/$PRGNAM.svg
+install -D -m644 resources/images/${PRGNAM,,}-logo-48x48.png $PKG/usr/share/pixmaps/$PRGNAM.png
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README.txt LICENSE copyright.txt documentation/* $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/multimedia/OpenLP/OpenLP.desktop b/multimedia/OpenLP/OpenLP.desktop
index 0dbadb6933126..58fb56913513a 100644
--- a/multimedia/OpenLP/OpenLP.desktop
+++ b/multimedia/OpenLP/OpenLP.desktop
@@ -1,5 +1,5 @@
[Desktop Entry]
-Name=Open Source Worship Presentation
+Name= OpenLP
Name[he]= OpenLP
Comment=Open Source Worship Presentation
Exec=openlp.pyw
diff --git a/multimedia/OpenLP/doinst.sh b/multimedia/OpenLP/doinst.sh
index 9a8ded3c60349..5fb28930db0b9 100644
--- a/multimedia/OpenLP/doinst.sh
+++ b/multimedia/OpenLP/doinst.sh
@@ -1,7 +1,3 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
-
-if [ -x /usr/bin/update-mime-database ]; then
- /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
-fi