summaryrefslogtreecommitdiffstats
path: root/development/gambas3/gambas3.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/gambas3/gambas3.SlackBuild')
-rw-r--r--development/gambas3/gambas3.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/development/gambas3/gambas3.SlackBuild b/development/gambas3/gambas3.SlackBuild
index ea9124b3d1..5073e7b417 100644
--- a/development/gambas3/gambas3.SlackBuild
+++ b/development/gambas3/gambas3.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for Gambas 3
-# updates since version 3.11.2 Copyright 2018-2022 Tim Dickson dickson.tim@googlemail.com
+# Copyright 2018-2024 Tim Dickson dickson.tim@googlemail.com
# Copyright 2012-2015 Fridrich von Stauffenberg <cancellor2@gmail.com>
# All rights reserved.
#
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gambas3
SRCNAM=gambas
-VERSION=${VERSION:-3.17.2}
+VERSION=${VERSION:-3.19.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -67,7 +67,8 @@ else
fi
set -e
-if [ "x`ls /var/log/packages|grep ^$PRGNAM|wc -l`" = "x1" ]; then
+#check updated for slackware 15 for new package location
+if [ "x`ls -H /var/lib/pkgtools/packages|grep ^$PRGNAM|wc -l`" = "x1" ]; then
#current installs of gambas should be uninstalled before
#attempting to create this gambas3 package
echo "you must uninstall $PRGNAM before creating package $PRGNAM ver $VERSION"
@@ -100,8 +101,8 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
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}
+chmod 644 app/desktop/$PRGNAM.svg
cp -a app/desktop/$PRGNAM.svg $PKG/usr/share/icons/hicolor/scalable/apps
convert -resize 48x48 app/desktop/$PRGNAM.png $PKG/usr/share/icons/hicolor/48x48/apps/$PRGNAM.png
convert -resize 64x64 app/mime/application-x-${SRCNAM}script.png $PKG/usr/share/icons/hicolor/64x64/mimetypes/script.png