wok-current view tyrian/receipt @ rev 24902
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 09 09:39:20 2022 +0000 (2022-04-09) |
parents | 6135577f4d08 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="tyrian"
4 VERSION="21"
5 CATEGORY="non-free"
6 SHORT_DESC="Tyrian is a the DOS shoot-em-up;you need open-tyrian to run it."
7 MAINTAINER="mallory@sweetpeople.org"
8 BUILD_DEPENDS="wget"
9 TARBALL="$PACKAGE$VERSION.zip"
10 WEB_SITE="https://github.com/opentyrian/opentyrian"
11 WGET_URL="https://sites.google.com/a/camanis.net/opentyrian/tyrian/$TARBALL"
13 LICENSE="other"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - https://github.com/opentyrian/opentyrian/releases 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 :
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/games/opentyrian
32 cd $src
33 for file in *; do
34 [ "$file" = "${file%.exe}" ] || continue
35 [ "$file" = "${file%.doc}" ] || continue
36 cp $file $fs/usr/games/opentyrian
37 done
38 }