wok-4.x annotate tyrian/receipt @ rev 12469

tazpkg: upgrade core pkgs first
author Stanislas Leduc <shann@slitaz.org>
date Wed Nov 09 19:06:12 2022 +0000 (24 months ago)
parents
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."
gokhlayeh@8565 7 MAINTAINER="mallory@skyrock.com"
gokhlayeh@8565 8 BUILD_DEPENDS="wget"
gokhlayeh@8565 9 TARBALL="$PACKAGE$VERSION.zip"
gokhlayeh@8565 10 WEB_SITE="http://code.google.com/p/opentyrian/"
gokhlayeh@8565 11 WGET_URL="https://sites.google.com/a/camanis.net/opentyrian/tyrian/$TARBALL"
gokhlayeh@8565 12
gokhlayeh@8565 13 # Rules to configure and make the package.
gokhlayeh@8565 14 compile_rules()
gokhlayeh@8565 15 {
gokhlayeh@8565 16 :
gokhlayeh@8565 17 }
gokhlayeh@8565 18
gokhlayeh@8565 19 # Rules to gen a SliTaz package suitable for Tazpkg.
gokhlayeh@8565 20 genpkg_rules()
gokhlayeh@8565 21 {
gokhlayeh@8565 22 mkdir -p $fs/usr/games/opentyrian
gokhlayeh@8565 23 cd $src
gokhlayeh@8565 24 for file in *; do
gokhlayeh@8565 25 [ "$file" = "${file%.exe}" ] || continue
gokhlayeh@8565 26 [ "$file" = "${file%.doc}" ] || continue
gokhlayeh@8565 27 cp $file $fs/usr/games/opentyrian
gokhlayeh@8565 28 done
gokhlayeh@8565 29 }
gokhlayeh@8565 30