wok-next diff pingus/receipt @ rev 21038

Small updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Nov 08 15:34:32 2018 +0200 (2018-11-08)
parents a244e109372e
children 5669e8b3be70
line diff
     1.1 --- a/pingus/receipt	Tue Aug 21 00:41:54 2018 +0300
     1.2 +++ b/pingus/receipt	Thu Nov 08 15:34:32 2018 +0200
     1.3 @@ -6,8 +6,8 @@
     1.4  PACKAGE="pingus"
     1.5  VERSION="0.7.3"
     1.6  CATEGORY="games"
     1.7 -SHORT_DESC="Pingus is a free Lemmings-like game"
     1.8 -MAINTAINER="chadi.elahmad@gmail.com"
     1.9 +SHORT_DESC="Free Lemmings-like game"
    1.10 +MAINTAINER="devel@slitaz.org"
    1.11  LICENSE="GPL2"
    1.12  WEB_SITE="https://pingus.seul.org/"
    1.13  
    1.14 @@ -21,24 +21,16 @@
    1.15  	sed -i 's/png_ptr->jmpbuf/png_jmpbuf(png_ptr)/' src/screenshot.cpp
    1.16  	scons || return 1
    1.17  
    1.18 -	mkdir -p $install/usr/bin $install/usr/share/pingus
    1.19 -	cp -a $src/pingus $install/usr/bin
    1.20 -	cp -a $src/data   $install/usr/share/pingus
    1.21 +	install -Dm755 pingus $install/usr/bin/pingus
    1.22 +	mkdir -p $install/usr/share/pingus/
    1.23 +	cp -r data/ $install/usr/share/pingus/
    1.24  
    1.25  	# the tarball doesn't contain any .desktop file, nor a pixmap
    1.26  	# let's create them
    1.27 -	mkdir -p $install/usr/share/pixmaps
    1.28 -	mkdir -p $install/usr/share/applications
    1.29 -	cp $src/data/images/core/editor/actions.png \
    1.30 +	install -Dm644 $src/data/images/core/editor/actions.png \
    1.31  		$install/usr/share/pixmaps/pingus.png
    1.32 -	cat > $install/usr/share/applications/pingus.desktop <<EOF
    1.33 -[Desktop Entry]
    1.34 -Name=Pingus
    1.35 -Exec=pingus -w
    1.36 -Type=Application
    1.37 -Categories=Application;Game;
    1.38 -Icon=pingus
    1.39 -EOF
    1.40 +	install -Dm644 $stuff/pingus.desktop \
    1.41 +		$install/usr/share/applications/pingus.desktop
    1.42  }
    1.43  
    1.44  genpkg_rules() {