diff options
Diffstat (limited to 'graphics/gource')
-rw-r--r-- | graphics/gource/gource.SlackBuild | 22 | ||||
-rw-r--r-- | graphics/gource/gource.info | 8 |
2 files changed, 20 insertions, 10 deletions
diff --git a/graphics/gource/gource.SlackBuild b/graphics/gource/gource.SlackBuild index 42d97e0a69..e7486547b9 100644 --- a/graphics/gource/gource.SlackBuild +++ b/graphics/gource/gource.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for gource -# Copyright 2013-2018 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy +# Copyright 2013-2022 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,10 +24,13 @@ # generated by grissiom's sbo-dev-helper +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=gource -VERSION=${VERSION:-0.49} +VERSION=${VERSION:-0.53} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -37,7 +40,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} @@ -56,7 +66,7 @@ else LIBDIRSUFFIX="" fi -DOCS="COPYING ChangeLog INSTALL README THANKS" +DOCS="COPYING ChangeLog INSTALL README.md THANKS" set -e @@ -95,4 +105,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc 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/graphics/gource/gource.info b/graphics/gource/gource.info index 387285873d..bb700f65a7 100644 --- a/graphics/gource/gource.info +++ b/graphics/gource/gource.info @@ -1,10 +1,10 @@ PRGNAM="gource" -VERSION="0.49" +VERSION="0.53" HOMEPAGE="https://gource.io" -DOWNLOAD="https://github.com/acaudwell/Gource/releases/download/gource-0.49/gource-0.49.tar.gz" -MD5SUM="a5d5895141eae689b3fd6d8fbcbb4c4b" +DOWNLOAD="https://github.com/acaudwell/Gource/releases/download/gource-0.53/gource-0.53.tar.gz" +MD5SUM="26c6061352105f5c880fcbcbfbd0e33c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="SDL2_image glm" +REQUIRES="glm" MAINTAINER="Matteo Bernardini" EMAIL="ponce@slackbuilds.org" |