wok diff lincity-ng/receipt @ rev 24892

Down libtmp (1.1.17), 1.1.19 doesn't detect smartphones (?)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 07 15:38:15 2022 +0000 (2022-04-07)
parents ac8ca9758df1
children
line diff
     1.1 --- a/lincity-ng/receipt	Sat Jan 15 15:21:40 2022 +0000
     1.2 +++ b/lincity-ng/receipt	Thu Apr 07 15:38:15 2022 +0000
     1.3 @@ -1,14 +1,14 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="lincity-ng"
     1.7 -VERSION="2.9"
     1.8 +VERSION="2.9-beta"
     1.9  CATEGORY="games"
    1.10  SHORT_DESC="A City Simulation Game. It is a polished and improved version of the classic LinCity game."
    1.11  MAINTAINER="slaxemulator@gmail.com"
    1.12  LICENSE="GPL2"
    1.13  WEB_SITE="https://github.com/lincity-ng/lincity-ng/"
    1.14  
    1.15 -TARBALL="$PACKAGE-$VERSION-beta.tar.gz"
    1.16 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17  WGET_URL="${WEB_SITE}archive/$TARBALL"
    1.18  
    1.19  DEPENDS="libsdl-gfx libsdl-image libsdl-mixer libsdl-ttf 
    1.20 @@ -17,10 +17,11 @@
    1.21  	libsdl-mixer-dev libsdl-ttf libsdl-ttf-dev libxml2-dev 
    1.22  	mesa-dev physfs-dev pkg-config"
    1.23  
    1.24 +# What is the latest version available today?
    1.25  current_version()
    1.26  {
    1.27  	wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
    1.28 -	sed '/archive.*tar/!d;s|.*/lincity-ng-\(.*\)-beta.tar.*|\1|;q'
    1.29 +	sed '/archive.*tar/!d;s|.*/lincity-ng-\(.*\).tar.*|\1|;q'
    1.30  }
    1.31  
    1.32  # Rules to configure and make the package.