wok annotate assaultcube-data/receipt @ rev 25403

updated vzctl (3.0.25.1 -> 4.11.1)
author Hans-G?nter Theisgen
date Tue Aug 02 16:35:24 2022 +0100 (2022-08-02)
parents a78610b2eb47
children 343c093ad221
rev   line source
slaxemulator@6588 1 # SliTaz package receipt.
slaxemulator@6588 2
slaxemulator@6588 3 PACKAGE="assaultcube-data"
slaxemulator@7316 4 VERSION="1.1.0.4"
slaxemulator@6588 5 CATEGORY="games"
slaxemulator@6588 6 SHORT_DESC="data files for assaultcube"
slaxemulator@6588 7 MAINTAINER="slaxemulator@gmail.com"
pascal@15201 8 LICENSE="zlib/libpng"
pascal@20669 9 WEB_SITE="https://assault.cubers.net/"
slaxemulator@6588 10 SOURCE="AssaultCube"
slaxemulator@6588 11 TARBALL="${SOURCE}_v${VERSION}.tar.bz2"
slaxemulator@8591 12 SOURCE="AssaultCube-Data"
slaxemulator@6588 13 WGET_URL="$SF_MIRROR/actiongame/$TARBALL"
slaxemulator@6588 14
pascal@24340 15 # What is the latest version available today?
pascal@24340 16 current_version()
pascal@24340 17 {
pascal@24340 18 wget -O - https://github.com/assaultcube/AC/releases 2>/dev/null | \
pascal@24340 19 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24340 20 }
pascal@24340 21
slaxemulator@6588 22 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6588 23 genpkg_rules()
slaxemulator@6588 24 {
slaxemulator@6588 25 mkdir -p $fs/usr/share/assaultcube
slaxemulator@6588 26 cp -a $src/config $fs/usr/share/assaultcube
slaxemulator@6588 27 cp -a $src/packages $fs/usr/share/assaultcube
slaxemulator@6588 28 cp -a $src/docs $fs/usr/share/assaultcube
slaxemulator@6588 29 cp -a $src/mods $fs/usr/share/assaultcube
al@14789 30 chown -R root:root $fs
al@14789 31 find $fs -type f -exec chmod a-x \{\} \;
slaxemulator@6588 32 }
slaxemulator@6588 33