summaryrefslogtreecommitdiff
path: root/source/xfce/elementary-xfce/elementary-xfce.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/xfce/elementary-xfce/elementary-xfce.SlackBuild')
-rwxr-xr-xsource/xfce/elementary-xfce/elementary-xfce.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/xfce/elementary-xfce/elementary-xfce.SlackBuild b/source/xfce/elementary-xfce/elementary-xfce.SlackBuild
index a65ffd27..3e9c8d2b 100755
--- a/source/xfce/elementary-xfce/elementary-xfce.SlackBuild
+++ b/source/xfce/elementary-xfce/elementary-xfce.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for elementary-xfce
# Copyright 2019 Robby Workman, Tuscaloosa, Alabama, USA
-# Copyright 2020 Patrick J. Volkerding, Sebeka, Minnesota, USA
+# Copyright 2020, 2021 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,8 +26,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=elementary-xfce
-VERSION=${VERSION:-0.15.1}
-BUILD=${BUILD:-3}
+VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
+BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}