aboutsummaryrefslogtreecommitdiff
path: root/audio/gmusicbrowser/gmusicbrowser.SlackBuild
diff options
context:
space:
mode:
authorchinarulezzz <s.alex08@mail.ru>2015-09-19 05:17:39 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-09-19 05:17:39 +0700
commit80f7031b22fe0925e688b6222f301700231f5b35 (patch)
tree79a0880be91926f3f8705155f17e709feb9af7f0 /audio/gmusicbrowser/gmusicbrowser.SlackBuild
parentf50e7fd828ebaf3c1e2467f0e34dbb743c1722a0 (diff)
audio/gmusicbrowser: Updated for version 1.1.14.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/gmusicbrowser/gmusicbrowser.SlackBuild')
-rw-r--r--audio/gmusicbrowser/gmusicbrowser.SlackBuild16
1 files changed, 6 insertions, 10 deletions
diff --git a/audio/gmusicbrowser/gmusicbrowser.SlackBuild b/audio/gmusicbrowser/gmusicbrowser.SlackBuild
index ebd0f5850955..83d9b09f3eac 100644
--- a/audio/gmusicbrowser/gmusicbrowser.SlackBuild
+++ b/audio/gmusicbrowser/gmusicbrowser.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for gmusicbrowser
# (C) 2007 Michael Wagner <lapinours@web.de>
-# Copyright 2014 chinarulezzz
+# (C) 2014, 2015 chinarulezzz <s.alex08@mail.ru>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=gmusicbrowser
-VERSION=${VERSION:-1.1.12}
+VERSION=${VERSION:-1.1.14}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -55,19 +55,15 @@ 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 {} \;
-make
-make install DESTDIR=$PKG
+# We don't have MARKDOWN by default for mkd to html convertation
+sed -i -r 's/(DOCS=.*)(layout_doc).html/\1\2.mkd/' Makefile
+
+make DESTDIR=$PKG install
mv $PKG/usr/share/man $PKG/usr && rm -rf $PKG/usr/share/man
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-# Not needed
-rm -rf $PKG/usr/lib
-
-# Let's not pollute /usr/share/icons
-mv $PKG/usr/share/icons $PKG/usr/share/pixmaps
-
mv $PKG/usr/share/doc $PKG/usr/doc
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
chmod 644 $PKG/usr/doc/$PRGNAM-$VERSION/*