wok-current view astromenace/receipt @ rev 24028

grub2: added /etc/default/grub
author Hans-G?nter Theisgen
date Thu Mar 25 08:19:09 2021 +0100 (2021-03-25)
parents 0af9612340e0
children 5ea0ce1cecc0
line source
1 # SliTaz package receipt.
3 PACKAGE="astromenace"
4 VERSION="1.4.1"
5 CATEGORY="games"
6 TAGS="arcade game shooting space"
7 SHORT_DESC="Hardcore 3D space shooter with spaceship upgrade possibilities."
8 MAINTAINER="hackdorte@yandex.com"
9 LICENSE="GPLv3"
10 WEB_SITE="https://viewizard.com/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/viewizard/$PACKAGE/archive/v$VERSION.tar.gz"
15 DEPENDS="freealut freetype gcc83-lib-base libogg libglu-mesa libsdl2
16 libvorbis openal xorg-libXinerama"
17 BUILD_DEPENDS="cmake freealut-dev freetype-dev gcc83 libglu-mesa-dev
18 libogg-dev libsdl2-dev libvorbis-dev mesa-dev openal-dev
19 xorg-libXinerama-dev libatomic"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 export CC=gcc-83
25 export CXX=g++-83
27 cmake . \
28 -DCMAKE_BUILD_TYPE=Release &&
29 make
30 # ./AstroMenace --pack --rawdata=./RAW_VFS_DATA
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 GAME="astromenace"
37 GAME_DIR="usr/games/$GAME"
39 mkdir -p $install/$GAME_DIR
40 chmod +x $src/$GAME
42 cp -a $src/$GAME $install/$GAME_DIR
43 cp -a $src/share/astromenace_64.png $install/$GAME_DIR
44 cp -a $src/share/astromenace_128.png $install/$GAME_DIR
45 cp -a $src/CHANGELOG.md $install/$GAME_DIR
46 cp -a $src/gamedata.vfs $install/$GAME_DIR
47 # cp -a $src/gpl-3.0.txt $install/$GAME_DIR
49 mkdir -p $install/usr/share/pixmaps
50 cp -a $src/share/astromenace_64.png $install/usr/share/pixmaps/astromenace.png
52 mkdir -p $install/usr/share/applications
53 cat > $install/usr/share/applications/astromenace.desktop << EOT
54 [Desktop Entry]
55 Type=Application
56 Name=$GAME
57 Exec=/$GAME_DIR/$GAME
58 Icon=$PACKAGE
59 Terminal=false
60 X-MultipleArgs=false
61 StartupNotify=false
62 Categories=Game;ActionGame;
64 EOT
66 cp -a $install/* $fs
68 }