aboutsummaryrefslogtreecommitdiff
path: root/desktop/Qogir-icon-theme
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-03-12 10:46:40 -0500
committerB. Watson <yalhcru@gmail.com>2022-03-12 10:46:40 -0500
commit0c76e952e9f2d25e2e45d764fb6c4b14eef18c8f (patch)
tree03bf5fb082da4d4227f30a966850b35da9ce0793 /desktop/Qogir-icon-theme
parentce3728275476c7aa5add39ee9ac6b020531729ca (diff)
desktop/Qogir-icon-theme: Fix VERSION in script.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'desktop/Qogir-icon-theme')
-rw-r--r--desktop/Qogir-icon-theme/Qogir-icon-theme.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/desktop/Qogir-icon-theme/Qogir-icon-theme.SlackBuild b/desktop/Qogir-icon-theme/Qogir-icon-theme.SlackBuild
index ec9cd4d79f9d8..b409af884d7c3 100644
--- a/desktop/Qogir-icon-theme/Qogir-icon-theme.SlackBuild
+++ b/desktop/Qogir-icon-theme/Qogir-icon-theme.SlackBuild
@@ -22,20 +22,21 @@
# 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
-SRCVER=${SRCVER:-2020-11-22}
-VERSION=${VERSION:-$(echo $SRCVER | tr -d -)}
+VERSION=${VERSION:-20201122}
+SRCVER=${SRCVER:-$( echo $VERSION | sed 's,\(....\)\(..\)\(..\),\1-\2-\3,' )}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-# 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