summaryrefslogtreecommitdiff
path: root/desktop/Surfn/Surfn.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/Surfn/Surfn.SlackBuild')
-rw-r--r--desktop/Surfn/Surfn.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/desktop/Surfn/Surfn.SlackBuild b/desktop/Surfn/Surfn.SlackBuild
index a3cc5d28a5..ce6598d413 100644
--- a/desktop/Surfn/Surfn.SlackBuild
+++ b/desktop/Surfn/Surfn.SlackBuild
@@ -22,20 +22,20 @@
# 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: fix VERSION/SRCVER mess.
+# VERSION must be a constant, and must match VERSION in the .info file.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=Surfn
-SRCVER=${SRCVER:-20.12-7}
-VERSION=${VERSION:-$(echo $SRCVER | tr - .)}
+VERSION=${VERSION:-20.12_7}
+SRCVER=${SRCVER:-$( echo $VERSION | tr _ -)}
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