summaryrefslogtreecommitdiff
path: root/python/python-lhafile/python-lhafile.SlackBuild
diff options
context:
space:
mode:
authorMarcel Saegebarth <marc@mos6581.de>2015-09-10 22:01:01 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-09-11 03:19:05 +0700
commit1df61063221c1c353476265c4c7e20ad27830d40 (patch)
treee6ae3f41949a2d6aebd78193ad4e38455930a7ef /python/python-lhafile/python-lhafile.SlackBuild
parent45a7c3cee90f364033c8b5a4ec2cffe7fee158a1 (diff)
downloadslackbuilds-1df61063221c1c353476265c4c7e20ad27830d40.tar.gz
python/python-lhafile: Updated for version 0.2.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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