wok view tyrian/receipt @ rev 25795
created recipe for libxfcegui4-lang
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 16:34:18 2024 +0100 (4 weeks ago) |
parents | a6b997a82f39 |
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 '/tag\//!d;s|.*tag/v*||;s|".*||;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 }