summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Dimitris Zlatanidis <d.zlatanidis@gmail.com>2014-04-14 14:10:51 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2014-04-14 14:10:51 +0700
commit22244a6ed670a2558e1a5e5c45b959c358200a83 (patch)
tree738d87b0c0b23200116dae407f0eb7665f3a1e49
parent00c276ebe63bc211790bd9e4024bd1653a29a0e7 (diff)
downloadslackbuilds-22244a6ed670a2558e1a5e5c45b959c358200a83.tar.gz
slackbuilds-22244a6ed670a2558e1a5e5c45b959c358200a83.tar.xz
multimedia/OpenLP: Script cleanup.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-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 3e1fcb4b23..a4db3e34ba 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 0dbadb6933..58fb569135 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 9a8ded3c60..5fb28930db 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