summaryrefslogtreecommitdiffstats
path: root/academic/gcompris-qt
diff options
context:
space:
mode:
Diffstat (limited to 'academic/gcompris-qt')
-rw-r--r--academic/gcompris-qt/gcompris-qt.SlackBuild21
-rw-r--r--academic/gcompris-qt/gcompris-qt.info14
2 files changed, 18 insertions, 17 deletions
diff --git a/academic/gcompris-qt/gcompris-qt.SlackBuild b/academic/gcompris-qt/gcompris-qt.SlackBuild
index 60c1f5f4bb..01ad6255dc 100644
--- a/academic/gcompris-qt/gcompris-qt.SlackBuild
+++ b/academic/gcompris-qt/gcompris-qt.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gcompris-qt
-# Copyright 2020 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2020-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification,
@@ -26,16 +26,13 @@
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# This software is licensed under the GNU GENERAL PUBLIC LICENSE Version 3,
-# 29 June 2007
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see <https://www.gnu.org/licenses/>.
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gcompris-qt
-VERSION=${VERSION:-1.0}
+VERSION=${VERSION:-4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
ARCH="$( uname -m )"
@@ -56,7 +53,11 @@ case "$ARCH" in
;;
esac
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -100,4 +101,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/academic/gcompris-qt/gcompris-qt.info b/academic/gcompris-qt/gcompris-qt.info
index 129dfb3ac0..835328b6ce 100644
--- a/academic/gcompris-qt/gcompris-qt.info
+++ b/academic/gcompris-qt/gcompris-qt.info
@@ -1,10 +1,10 @@
PRGNAM="gcompris-qt"
-VERSION="1.0"
-HOMEPAGE="http://gcompris.net/"
-DOWNLOAD="http://gcompris.net/download/qt/linux/gcompris-qt-1.0-Linux32.sh"
-MD5SUM="d2beeaecff1a7488d693e037a4b0e325"
-DOWNLOAD_x86_64="http://gcompris.net/download/qt/linux/gcompris-qt-1.0-Linux64.sh"
-MD5SUM_x86_64="327d7b397312e40419964bb6e5f2b828"
-REQUIRES="krb5"
+VERSION="4.0"
+HOMEPAGE="https://gcompris.net/"
+DOWNLOAD="https://gcompris.net/download/qt/linux/gcompris-qt-4.0-Linux32.sh"
+MD5SUM="c28334c56e8c7f74888a2b641cbcca6f"
+DOWNLOAD_x86_64="https://gcompris.net/download/qt/linux/gcompris-qt-4.0-Linux64.sh"
+MD5SUM_x86_64="3f0714ef303ea3bc3799b614bcbd5857"
+REQUIRES=""
MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org"