summaryrefslogtreecommitdiff
path: root/audio/gmusicbrowser/gmusicbrowser.SlackBuild
diff options
context:
space:
mode:
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 ebd0f58509..83d9b09f3e 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/*