summaryrefslogtreecommitdiff
path: root/audio/mp3splt-gtk/mp3splt-gtk.SlackBuild
diff options
context:
space:
mode:
authorB Watson <yalhcru@gmail.com>2014-08-23 23:11:57 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-08-30 14:19:17 +0700
commit28150aa0ae2115f37ec6138094d16c0d406ec391 (patch)
treeee057ea1d04b3a136034d308059ded3dcf3ec726 /audio/mp3splt-gtk/mp3splt-gtk.SlackBuild
parenta761b9a0cb8e9d7126499162b3d8c33df61daefd (diff)
downloadslackbuilds-28150aa0ae2115f37ec6138094d16c0d406ec391.tar.gz
audio/mp3splt-gtk: Updated for version 0.9.1a.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/mp3splt-gtk/mp3splt-gtk.SlackBuild')
-rw-r--r--audio/mp3splt-gtk/mp3splt-gtk.SlackBuild17
1 files changed, 10 insertions, 7 deletions
diff --git a/audio/mp3splt-gtk/mp3splt-gtk.SlackBuild b/audio/mp3splt-gtk/mp3splt-gtk.SlackBuild
index b32286968f..fe45e226cf 100644
--- a/audio/mp3splt-gtk/mp3splt-gtk.SlackBuild
+++ b/audio/mp3splt-gtk/mp3splt-gtk.SlackBuild
@@ -22,8 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20140819 bkw:
+# - Updated for v0.9.1a
+# - Use make isntall-strip instead of find/xargs/strip
+# - Get rid of redundant/empty TODO and INSTALL from /usr/doc
+# - Don't waste time building doxygen docs, since we don't install them
+
PRGNAM=mp3splt-gtk
-VERSION=${VERSION:-0.9}
+VERSION=${VERSION:-0.9.1a}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -78,20 +84,17 @@ CXXFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--disable-gnome \
--disable-scrollkeeper \
+ --disable-doxygen_doc \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+make install-strip DESTDIR=$PKG
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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS ChangeLog COPYING INSTALL NEWS README TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS ChangeLog COPYING NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install