summaryrefslogtreecommitdiff
path: root/multimedia/ripperX/ripperX.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/ripperX/ripperX.SlackBuild')
-rw-r--r--multimedia/ripperX/ripperX.SlackBuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/multimedia/ripperX/ripperX.SlackBuild b/multimedia/ripperX/ripperX.SlackBuild
index a91a5c3457..c5b2227c83 100644
--- a/multimedia/ripperX/ripperX.SlackBuild
+++ b/multimedia/ripperX/ripperX.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for ripperX
-# Copyright 2012 David Golus <bassplayer69@gmail.com>
+# Copyright 2012,2013 David Golus <bassplayer69@gmail.com>
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
@@ -26,7 +26,7 @@
PRGNAM=ripperX
VERSION=2.7.3
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -84,6 +84,12 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+mkdir -p $PKG/usr/share/pixmaps
+cp -a src/xpms/ripperX-icon.xpm $PKG/usr/share/pixmaps
+mkdir -p $PKG/usr/share/applications
+cp -a ripperX.desktop $PKG/usr/share/applications
+echo "Categories=AudioVideo;" >> $PKG/usr/share/applications/ripperX.desktop
+
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true