summaryrefslogtreecommitdiffstats
path: root/desktop/Qogir-icon-theme/Qogir-icon-theme.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/Qogir-icon-theme/Qogir-icon-theme.SlackBuild')
-rw-r--r--desktop/Qogir-icon-theme/Qogir-icon-theme.SlackBuild20
1 files changed, 15 insertions, 5 deletions
diff --git a/desktop/Qogir-icon-theme/Qogir-icon-theme.SlackBuild b/desktop/Qogir-icon-theme/Qogir-icon-theme.SlackBuild
index 2956c90b1a..b409af884d 100644
--- a/desktop/Qogir-icon-theme/Qogir-icon-theme.SlackBuild
+++ b/desktop/Qogir-icon-theme/Qogir-icon-theme.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Qogir-icon-theme
@@ -22,16 +22,26 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220312 bkw: Modified by SlackBuilds.org. VERSION must be a
+# constant, because our validation scripts check the VERSION in the
+# script against the VERSION in the .info file, and they must match.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=Qogir-icon-theme
-VERSION=${VERSION:-20200622}
+VERSION=${VERSION:-20201122}
+SRCVER=${SRCVER:-$( echo $VERSION | sed 's,\(....\)\(..\)\(..\),\1-\2-\3,' )}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-SRCVER=${SRCVER:-2020-06-22}
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -72,4 +82,4 @@ find . -type l \
-printf '( cd %h ; rm -rf %f )\n( cd %h ; ln -sf %l %f )\n' -delete | \
sed 's,cd \./,cd ,' >> $PKG/install/doinst.sh
-/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