wok-next annotate opentyrian/receipt @ rev 20855
svgcleaner: up (0.9.5); add oxipng
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jun 26 15:41:27 2018 +0300 (2018-06-26) |
parents | cfc6ddf8de74 |
children | a3c581bf52b8 |
rev | line source |
---|---|
al@20476 | 1 # SliTaz package receipt v2. |
gokhlayeh@8566 | 2 |
gokhlayeh@8566 | 3 PACKAGE="opentyrian" |
gokhlayeh@8566 | 4 VERSION="r886" |
gokhlayeh@8566 | 5 CATEGORY="games" |
gokhlayeh@8566 | 6 SHORT_DESC="OpenTyrian is a port of the DOS shoot-em-up Tyrian" |
pascal@14277 | 7 MAINTAINER="mallory@sweetpeople.org" |
pascal@15001 | 8 LICENSE="GPL2" |
pascal@15001 | 9 WEB_SITE="http://code.google.com/p/opentyrian/" |
al@20476 | 10 |
pascal@15661 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@15001 | 12 WGET_URL="mercurial|https://opentyrian.googlecode.com/hg/" |
pascal@15001 | 13 |
gokhlayeh@8566 | 14 BUILD_DEPENDS="libsdl-dev libsdl-mixer-dev libsdl-net-dev mercurial" |
gokhlayeh@8566 | 15 |
al@20476 | 16 compile_rules() { |
al@20476 | 17 make release || return 1 |
gokhlayeh@8566 | 18 |
al@20476 | 19 mkdir -p \ |
al@20476 | 20 $install/usr/bin $fs/usr/share/applications \ |
al@20476 | 21 $install/usr/share/pixmaps \ |
al@20476 | 22 $install/usr/games/opentyrian |
al@20476 | 23 cp $src/opentyrian $install/usr/games/opentyrian |
al@20476 | 24 cp $src/linux/opentyrian.desktop $install/usr/share/applications |
al@20476 | 25 cp $src/linux/icons/tyrian-32.png $install/usr/share/pixmaps/opentyrian.png |
al@20476 | 26 cat > $install/usr/bin/opentyrian <<EOF |
gokhlayeh@8566 | 27 #!/bin/sh |
gokhlayeh@8566 | 28 here=$(pwd) |
gokhlayeh@8566 | 29 cd /usr/games/opentyrian |
gokhlayeh@8566 | 30 ./opentyrian |
gokhlayeh@8566 | 31 cd $here |
gokhlayeh@8566 | 32 EOF |
al@20476 | 33 chmod +x $install/usr/bin/opentyrian |
gokhlayeh@8566 | 34 } |
gokhlayeh@8566 | 35 |
al@20476 | 36 genpkg_rules() { |
al@20476 | 37 copy @std |
al@20476 | 38 DEPENDS="libsdl libsdl-mixer libsdl-net tyrian" |
al@20476 | 39 } |