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