summaryrefslogtreecommitdiff
path: root/system/barman/barman.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/barman/barman.SlackBuild')
-rw-r--r--system/barman/barman.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/system/barman/barman.SlackBuild b/system/barman/barman.SlackBuild
index f7de6d1627..388b99c9de 100644
--- a/system/barman/barman.SlackBuild
+++ b/system/barman/barman.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=barman
-VERSION=${VERSION:-1.3.1}
+VERSION=${VERSION:-1.3.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,14 +69,14 @@ 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 {} \;
+# fix man pages paths
+sed -i 's/share\/man/man/g' setup.py
+
python setup.py install --root=$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
-mv $PKG/usr/share/man $PKG/usr
-rm -rf $PKG/usr/share
-
find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION