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