From 22244a6ed670a2558e1a5e5c45b959c358200a83 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Mon, 14 Apr 2014 14:10:51 +0700 Subject: multimedia/OpenLP: Script cleanup. Signed-off-by: Willy Sudiarto Raharjo --- multimedia/OpenLP/OpenLP.SlackBuild | 4 ++-- multimedia/OpenLP/OpenLP.desktop | 2 +- multimedia/OpenLP/doinst.sh | 4 ---- 3 files changed, 3 insertions(+), 7 deletions(-) (limited to 'multimedia/OpenLP') 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 -- cgit v1.2.3