diff options
Diffstat (limited to 'office/lumina-calculator')
-rw-r--r-- | office/lumina-calculator/lumina-calculator.SlackBuild | 22 | ||||
-rw-r--r-- | office/lumina-calculator/lumina-calculator.info | 8 |
2 files changed, 20 insertions, 10 deletions
diff --git a/office/lumina-calculator/lumina-calculator.SlackBuild b/office/lumina-calculator/lumina-calculator.SlackBuild index 949ab395d9..3021ae57bd 100644 --- a/office/lumina-calculator/lumina-calculator.SlackBuild +++ b/office/lumina-calculator/lumina-calculator.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for lumina-calculator -# Copyright 2019 Chris Abela, Malta +# Copyright 2019, 2020 Chris Abela, Malta # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,10 +22,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=lumina-calculator -VERSION=${VERSION:-1.5.0_20190822} +VERSION=${VERSION:-1.6.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +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} @@ -61,7 +71,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM +cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -98,4 +108,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/office/lumina-calculator/lumina-calculator.info b/office/lumina-calculator/lumina-calculator.info index 93d9ba3da8..654adc09fc 100644 --- a/office/lumina-calculator/lumina-calculator.info +++ b/office/lumina-calculator/lumina-calculator.info @@ -1,10 +1,10 @@ PRGNAM="lumina-calculator" -VERSION="1.5.0_20190822" +VERSION="1.6.0" HOMEPAGE="https://github.com/lumina-desktop/lumina-calculator" -DOWNLOAD="https://gitlab.com/chrisabela/downloads/raw/master/lumina-calculator-1.5.0_20190822.tar.gz" -MD5SUM="048179c887d78c1ed907655a27a217fd" +DOWNLOAD="https://github.com/lumina-desktop/lumina-calculator/archive/v1.6.0/lumina-calculator-1.6.0.tar.gz" +MD5SUM="320996336e910e2626c5523111ed817f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="qt5" +REQUIRES="" MAINTAINER="Chris Abela" EMAIL="kristofru@gmail.com" |