summaryrefslogtreecommitdiff
path: root/python/python3-lhafile/python3-lhafile.SlackBuild
diff options
context:
space:
mode:
authorMarcel Saegebarth <marc@mos6581.de>2015-09-10 22:01:45 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-09-11 03:19:06 +0700
commitf3aa7130043cf5d7e1a497431d2d22015f77babf (patch)
treebe4ca3124bafdd599352867d4310dc7a03c5c608 /python/python3-lhafile/python3-lhafile.SlackBuild
parent1df61063221c1c353476265c4c7e20ad27830d40 (diff)
downloadslackbuilds-f3aa7130043cf5d7e1a497431d2d22015f77babf.tar.gz
python/python3-lhafile: Updated for version 0.2.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-lhafile/python3-lhafile.SlackBuild')
-rw-r--r--python/python3-lhafile/python3-lhafile.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/python/python3-lhafile/python3-lhafile.SlackBuild b/python/python3-lhafile/python3-lhafile.SlackBuild
index d92eb53da8..83a1fe5e76 100644
--- a/python/python3-lhafile/python3-lhafile.SlackBuild
+++ b/python/python3-lhafile/python3-lhafile.SlackBuild
@@ -26,7 +26,7 @@
PRGNAM=python3-lhafile
SRCNAM=python-lhafile
-VERSION=${VERSION:-0.1.0fs4}
+VERSION=${VERSION:-0.2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -74,6 +74,9 @@ find -L . \
python3 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
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING.txt README.txt VERSION $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild