summaryrefslogtreecommitdiff
path: root/development/gambas3/gambas3.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/gambas3/gambas3.SlackBuild')
-rw-r--r--development/gambas3/gambas3.SlackBuild12
1 files changed, 9 insertions, 3 deletions
diff --git a/development/gambas3/gambas3.SlackBuild b/development/gambas3/gambas3.SlackBuild
index c8326112f1..316c1eb640 100644
--- a/development/gambas3/gambas3.SlackBuild
+++ b/development/gambas3/gambas3.SlackBuild
@@ -22,11 +22,11 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# updates since version 3.11.2 Copyright 2018/9/2020 Tim Dickson dickson.tim@googlemail.com
+# updates since version 3.11.2 Copyright 2018-2020 Tim Dickson dickson.tim@googlemail.com
PRGNAM=gambas3
SRCNAM=gambas
-VERSION=${VERSION:-3.14.3}
+VERSION=${VERSION:-3.15.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -84,7 +84,13 @@ LLVM_CONFIG=llvm-config \
$qt5
make
-make -j1 install-strip DESTDIR=$PKG XDG_UTILS=""
+make -j1 install DESTDIR=$PKG XDG_UTILS=""
+
+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
+
+mv $PKG/usr/share/man $PKG/usr
+find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/share/icons/hicolor/{scalable/apps,48x48/apps,64x64/mimetypes}
cp -a app/desktop/$PRGNAM.svg $PKG/usr/share/icons/hicolor/scalable/apps