wok-next annotate opentyrian/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | a3c581bf52b8 |
children | 0f2575775b2d |
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" |
al@21020 | 6 SHORT_DESC="Port of the DOS shoot-em-up Tyrian" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15001 | 8 LICENSE="GPL2" |
al@20906 | 9 WEB_SITE="https://bitbucket.org/opentyrian/opentyrian/wiki/Home" |
al@20476 | 10 |
pascal@15661 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@20906 | 12 WGET_URL="mercurial|https://opentyrian.googlecode.com/hg/" # FIXME |
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 } |