summaryrefslogtreecommitdiffstats
path: root/system/barman/barman.SlackBuild
diff options
context:
space:
mode:
author Dimitris Zlatanidis2014-05-02 13:50:01 +0200
committer Willy Sudiarto Raharjo2014-05-02 13:50:01 +0200
commit7b6dee361add936dd45d5870d0fc7637d50a5a23 (patch)
treebb43f41364e68bb2ee6b5a89cc0817ced1f2cced /system/barman/barman.SlackBuild
parentde9cd1958211e8ad133524dbf85464599d8af9f1 (diff)
downloadslackbuilds-7b6dee361add936dd45d5870d0fc7637d50a5a23.tar.gz
system/barman: Updated for version 1.3.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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