summaryrefslogtreecommitdiff
path: root/python/python3-lhafile/python3-lhafile.SlackBuild
diff options
context:
space:
mode:
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