wok-next view opentyrian/receipt @ rev 21722

efivar: typo in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:31:46 2020 +0000 (2020-09-01)
parents f6ec630a30b5
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="opentyrian"
4 VERSION="r886"
5 CATEGORY="games"
6 SHORT_DESC="Port of the DOS shoot-em-up Tyrian"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://bitbucket.org/opentyrian/opentyrian/wiki/Home"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="mercurial|https://opentyrian.googlecode.com/hg/" # FIXME
14 BUILD_DEPENDS="glib sdl-dev sdl-mixer-dev sdl-net-dev mercurial"
16 compile_rules() {
17 make release || return 1
19 mkdir -p \
20 $install/usr/bin \
21 $install/usr/share/applications \
22 $install/usr/share/pixmaps \
23 $install/usr/games/opentyrian
24 cp $src/opentyrian $install/usr/games/opentyrian
25 cp $src/linux/opentyrian.desktop $install/usr/share/applications
26 cp $src/linux/icons/tyrian-32.png $install/usr/share/pixmaps/opentyrian.png
27 cat > $install/usr/bin/opentyrian <<EOF
28 #!/bin/sh
29 here=$(pwd)
30 cd /usr/games/opentyrian
31 ./opentyrian
32 cd $here
33 EOF
34 chmod +x $install/usr/bin/opentyrian
35 }
37 genpkg_rules() {
38 copy @std
39 DEPENDS="sdl sdl-mixer sdl-net tyrian"
40 }