summaryrefslogtreecommitdiff
path: root/network/vimb/vimb.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/vimb/vimb.SlackBuild')
-rw-r--r--network/vimb/vimb.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/network/vimb/vimb.SlackBuild b/network/vimb/vimb.SlackBuild
index 98f3dd9efa..0704914e3b 100644
--- a/network/vimb/vimb.SlackBuild
+++ b/network/vimb/vimb.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=vimb
-VERSION=${VERSION:-2.12}
+VERSION=${VERSION:-3.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,7 +69,10 @@ 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 PREFIX=/usr MANDIR=/usr/man DESTDIR=$PKG install
+make PREFIX=/usr DESTDIR=$PKG MANPREFIX=$PKG/usr/man LIBDIR=$PKG/usr/lib${LIBDIRSUFFIX} install
+
+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
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