summaryrefslogtreecommitdiff
path: root/desktop/Surfn
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/Surfn')
-rw-r--r--desktop/Surfn/Surfn.SlackBuild10
-rw-r--r--desktop/Surfn/Surfn.info2
2 files changed, 6 insertions, 6 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
diff --git a/desktop/Surfn/Surfn.info b/desktop/Surfn/Surfn.info
index a8415d2672..3dba712a3a 100644
--- a/desktop/Surfn/Surfn.info
+++ b/desktop/Surfn/Surfn.info
@@ -1,5 +1,5 @@
PRGNAM="Surfn"
-VERSION="20.12.7"
+VERSION="20.12_7"
HOMEPAGE="https://github.com/erikdubois/Surfn"
DOWNLOAD="https://github.com/erikdubois/Surfn/archive/20.12-7/Surfn-20.12-7.tar.gz"
MD5SUM="e9a0311e36c591118a4a968a9371e24d"