summaryrefslogtreecommitdiff
path: root/source/l/rttr/rttr.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/rttr/rttr.SlackBuild')
-rwxr-xr-xsource/l/rttr/rttr.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/l/rttr/rttr.SlackBuild b/source/l/rttr/rttr.SlackBuild
index d5b8531e..573fa2fd 100755
--- a/source/l/rttr/rttr.SlackBuild
+++ b/source/l/rttr/rttr.SlackBuild
@@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=rttr
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | cut -f 2 -d -)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -112,6 +112,9 @@ cd cmake-build
make install DESTDIR=$PKG || exit 1
cd ..
+# This package makes a mess of things in /usr/doc:
+rm -rf $PKG/usr/doc
+
# Strip binaries:
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null