diff options
author | B. Watson <yalhcru@gmail.com> | 2022-03-12 10:53:52 -0500 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2022-03-12 11:55:53 -0500 |
commit | 6e8dbd6427c6db1b6a60e0e0c7fe5cda4e26a5a6 (patch) | |
tree | 7d0623d0f33cf907d5806df2de52129641031226 /desktop/Surfn | |
parent | 0c76e952e9f2d25e2e45d764fb6c4b14eef18c8f (diff) | |
download | slackbuilds-6e8dbd6427c6db1b6a60e0e0c7fe5cda4e26a5a6.tar.gz |
desktop/Surfn: Fix VERSION in script.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'desktop/Surfn')
-rw-r--r-- | desktop/Surfn/Surfn.SlackBuild | 10 | ||||
-rw-r--r-- | desktop/Surfn/Surfn.info | 2 |
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" |