summaryrefslogtreecommitdiff
path: root/development/bpython/bpython.SlackBuild
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2019-04-04 20:49:00 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-04-06 07:02:58 +0700
commita48f812e4dcb87a6abc7d91b094c9771180a8657 (patch)
treefda603c6c7629eec124220e6d2e1e5b9e5a54339 /development/bpython/bpython.SlackBuild
parent498acadff6f55b2a56b6258f5972a594f752d36e (diff)
downloadslackbuilds-a48f812e4dcb87a6abc7d91b094c9771180a8657.tar.gz
development/bpython: Updated for version 0.18.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'development/bpython/bpython.SlackBuild')
-rw-r--r--development/bpython/bpython.SlackBuild14
1 files changed, 6 insertions, 8 deletions
diff --git a/development/bpython/bpython.SlackBuild b/development/bpython/bpython.SlackBuild
index bb680bc5e2..d0f98e73b4 100644
--- a/development/bpython/bpython.SlackBuild
+++ b/development/bpython/bpython.SlackBuild
@@ -2,8 +2,8 @@
# Slackware build script for bpython
+# Copyright 2014-2019 Dimitris Zlatanidis Orestiada, Greece
# Written by vvoody <vvoodywang@gmail.com>
-# Copyright 2014-2018 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=bpython
-VERSION=${VERSION:-0.17.1}
+VERSION=${VERSION:-0.18}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -56,17 +56,15 @@ 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 desktop file
+mv data/org.bpython-interpreter.bpython.desktop data/bpython.desktop
+sed -i 's/org.bpython-interpreter.bpython.desktop/bpython.desktop/' setup.py
+
python setup.py install --root=$PKG
find $PKG | xargs 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/share/applications
-install -D -m644 data/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop
-
-mkdir -p $PKG/usr/share/pixmaps/
-install -D -m644 data/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS CHANGELOG sample.theme light.theme \
$PKG/usr/doc/$PRGNAM-$VERSION