summaryrefslogtreecommitdiff
path: root/python/python-lhafile/python-lhafile.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/python-lhafile/python-lhafile.SlackBuild')
-rw-r--r--python/python-lhafile/python-lhafile.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/python/python-lhafile/python-lhafile.SlackBuild b/python/python-lhafile/python-lhafile.SlackBuild
index 667fdd54b7..6478ac09e7 100644
--- a/python/python-lhafile/python-lhafile.SlackBuild
+++ b/python/python-lhafile/python-lhafile.SlackBuild
@@ -25,7 +25,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=python-lhafile
-VERSION=${VERSION:-0.1.0fs4}
+VERSION=${VERSION:-0.2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -73,6 +73,9 @@ find -L . \
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
+
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