wok-next rev 21499

updated astromenace (1.4.0 -> 1.4.1)
author Hans-G?nter Theisgen
date Fri Jun 19 06:40:01 2020 +0100 (2020-06-19)
parents 613863b648f8
children 3fd40f35bcc5
files astromenace/receipt
line diff
     1.1 --- a/astromenace/receipt	Thu Jun 18 21:48:58 2020 +0100
     1.2 +++ b/astromenace/receipt	Fri Jun 19 06:40:01 2020 +0100
     1.3 @@ -1,8 +1,9 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="astromenace"
     1.7 -VERSION="1.4.0"
     1.8 +VERSION="1.4.1"
     1.9  CATEGORY="games"
    1.10 +TAGS="arcade game shooting space"
    1.11  SHORT_DESC="Hardcore 3D space scroll-shooter with spaceship upgrade possibilities"
    1.12  MAINTAINER="al.bobylev@gmail.com"
    1.13  LICENSE="GPL3"
    1.14 @@ -11,34 +12,40 @@
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16  WGET_URL="https://github.com/viewizard/astromenace/archive/v$VERSION.tar.gz"
    1.17  
    1.18 -BUILD_DEPENDS="cmake sdl2-dev mesa-dev openal-dev freealut-dev libogg-dev \
    1.19 -libvorbis-dev freetype-dev glu-dev"
    1.20 +BUILD_DEPENDS="cmake freealut-dev freetype-dev glu-dev libogg-dev 
    1.21 +	libvorbis-dev mesa-dev openal-dev sdl2-dev"
    1.22  SPLIT="$PACKAGE-data"
    1.23  
    1.24 -compile_rules() {
    1.25 +compile_rules()
    1.26 +{
    1.27  	mkdir build
    1.28  	cd    build
    1.29 -	cmake \
    1.30 -		-DCMAKE_INSTALL_PREFIX=/usr \
    1.31 -		-DDATADIR=/usr/share/astromenace \
    1.32 -		.. &&
    1.33 +	cmake	..					\
    1.34 +		-DCMAKE_INSTALL_PREFIX=/usr		\
    1.35 +		-DDATADIR=/usr/share/astromenace &&
    1.36  	make || return 1
    1.37  
    1.38 -	install -Dm755 $src/build/astromenace             $install/usr/bin/astromenace
    1.39 -	install -Dm644 $src/build/gamedata.vfs            $install/usr/share/astromenace/gamedata.vfs
    1.40 -	install -Dm644 $src/share/astromenace_64.png      $install/usr/share/icons/hicolor/64x64/apps/astromenace.png
    1.41 -	install -Dm644 $src/share/astromenace_128.png     $install/usr/share/icons/hicolor/128x128/apps/astromenace.png
    1.42 -	install -Dm644 $src/share/astromenace.desktop     $install/usr/share/applications/astromenace.desktop
    1.43 -	install -Dm644 $src/share/astromenace.appdata.xml $install/usr/share/appdata/astromenace.appdata.xml
    1.44 +	install -Dm755 $src/build/astromenace \
    1.45 +		$install/usr/bin/astromenace
    1.46 +	install -Dm644 $src/build/gamedata.vfs \
    1.47 +		$install/usr/share/astromenace/gamedata.vfs
    1.48 +	install -Dm644 $src/share/astromenace_64.png \
    1.49 +		$install/usr/share/icons/hicolor/64x64/apps/astromenace.png
    1.50 +	install -Dm644 $src/share/astromenace_128.png \
    1.51 +		$install/usr/share/icons/hicolor/128x128/apps/astromenace.png
    1.52 +	install -Dm644 $src/share/astromenace.desktop \
    1.53 +		$install/usr/share/applications/astromenace.desktop
    1.54 +	install -Dm644 $src/share/astromenace.appdata.xml \
    1.55 +		$install/usr/share/appdata/astromenace.appdata.xml
    1.56  }
    1.57  
    1.58 -genpkg_rules() {
    1.59 +genpkg_rules()
    1.60 +{
    1.61  	case $PACKAGE in
    1.62  		astromenace)
    1.63  			copy bin/
    1.64 -			DEPENDS="astromenace-data \
    1.65 -			freealut freetype glu sdl2 libvorbis mesa openal"
    1.66 -			TAGS="arcade game shooting space"
    1.67 +			DEPENDS="astromenace-data freealut freetype glu 
    1.68 +				libvorbis mesa openal sdl2"
    1.69  			;;
    1.70  		*-data)
    1.71  			copy @std icons/ @rm