wok annotate beneath-a-steel-sky/receipt @ rev 24353

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 03 12:55:23 2022 +0000 (2022-02-03)
parents 6e8b1bcb30e2
children 65ff25c4de90
rev   line source
gokhlayeh@6432 1 # SliTaz package receipt.
gokhlayeh@6432 2
gokhlayeh@6432 3 PACKAGE="beneath-a-steel-sky"
gokhlayeh@6432 4 VERSION="1.2"
gokhlayeh@6432 5 CATEGORY="games"
gokhlayeh@6432 6 SHORT_DESC="Beneath A Steel Sky is a 2D point-and-click science fiction thriller."
pascal@16051 7 MAINTAINER="gokhlayeh@slitaz.org"
pascal@16678 8 LICENSE="other"
gokhlayeh@6432 9 DEPENDS="scummvm"
gokhlayeh@6432 10 SOURCE="bass-cd"
gokhlayeh@6432 11 TARBALL="$SOURCE-$VERSION.zip"
pascal@20671 12 WEB_SITE="https://revolution.co.uk/games/beneath-a-steel-sky/"
gokhlayeh@6432 13 WGET_URL="http://downloads.sourceforge.net/scummvm/$TARBALL"
gokhlayeh@6432 14
pascal@24353 15 # What is the latest version available today?
pascal@24353 16 current_version()
pascal@24353 17 {
pascal@24353 18 wget -O - https://sourceforge.net/projects/scummvm/files/extras/Beneath%20a%20Steel%20Sky/ 2>/dev/null | \
pascal@24353 19 sed '/scope="row/!d;/bass-cd/!d;s|.*/bass-cd-||;s|.zip.*||;q'
pascal@24353 20 }
pascal@24353 21
gokhlayeh@6432 22 # Rules to gen a SliTaz package suitable for Tazpkg.
gokhlayeh@6432 23 genpkg_rules()
gokhlayeh@6432 24 {
gokhlayeh@6438 25 mkdir -p $fs/usr/share/applications $fs/usr/games/bass
gokhlayeh@6438 26 cp -a $src/sky* $fs/usr/games/bass
pankso@9697 27 cp -a $stuff/*.desktop $fs/usr/share/applications
gokhlayeh@6432 28 }
gokhlayeh@6432 29
hackdorte@20010 30 ## -----------------------------------------------------------------------
hackdorte@20010 31 ## Revision: 03/Aug/2017 - SliTaz DevTeam.
hackdorte@20010 32 ## URL: "http://www.revolution.co.uk/_display.php?id=16" is OFF.
hackdorte@20010 33 ## This looks good? => https://revolution.co.uk/games/beneath-a-steel-sky/
hackdorte@20010 34 ## !! Please, remove this after you update. Thank you.