wok-next view astromenace/receipt @ rev 21159
updated diffutils (3.6 -> 3.7)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 20 08:46:59 2019 +0100 (2019-02-20) |
parents | 21ab7a6eb192 |
children | 5fefaf318f35 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="astromenace"
4 VERSION="1.4.0"
5 CATEGORY="games"
6 SHORT_DESC="Hardcore 3D space scroll-shooter with spaceship upgrade possibilities"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="https://viewizard.com/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/viewizard/astromenace/archive/v$VERSION.tar.gz"
14 BUILD_DEPENDS="cmake sdl2-dev mesa-dev openal-dev freealut-dev libogg-dev \
15 libvorbis-dev freetype-dev glu-dev"
16 SPLIT="$PACKAGE-data"
18 compile_rules() {
19 mkdir build
20 cd build
21 cmake \
22 -DCMAKE_INSTALL_PREFIX=/usr \
23 -DDATADIR=/usr/share/astromenace \
24 .. &&
25 make || return 1
27 install -Dm755 $src/build/astromenace $install/usr/bin/astromenace
28 install -Dm644 $src/build/gamedata.vfs $install/usr/share/astromenace/gamedata.vfs
29 install -Dm644 $src/share/astromenace_64.png $install/usr/share/icons/hicolor/64x64/apps/astromenace.png
30 install -Dm644 $src/share/astromenace_128.png $install/usr/share/icons/hicolor/128x128/apps/astromenace.png
31 install -Dm644 $src/share/astromenace.desktop $install/usr/share/applications/astromenace.desktop
32 install -Dm644 $src/share/astromenace.appdata.xml $install/usr/share/appdata/astromenace.appdata.xml
33 }
35 genpkg_rules() {
36 case $PACKAGE in
37 astromenace)
38 copy bin/
39 DEPENDS="astromenace-data \
40 freealut freetype glu sdl2 libvorbis mesa openal"
41 TAGS="arcade game shooting space"
42 ;;
43 *-data)
44 copy @std icons/ @rm
45 CAT="games|game data"
46 ;;
47 esac
48 }