aboutsummaryrefslogtreecommitdiff
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.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