wok-6.x diff kobodeluxe/receipt @ rev 19761

Up: libpng+apng (1.6.28)
author Alexander Medvedev <devl547@gmail.com>
date Sun Feb 19 09:21:30 2017 +0000 (2017-02-19)
parents 8d8c479de861
children af8d823a3077
line diff
     1.1 --- a/kobodeluxe/receipt	Fri Mar 26 22:59:20 2010 +0100
     1.2 +++ b/kobodeluxe/receipt	Sun Feb 19 09:21:30 2017 +0000
     1.3 @@ -10,12 +10,14 @@
     1.4  CATEGORY="games"
     1.5  SHORT_DESC="Kobo Deluxe is a third person scrolling 2D shooter game."
     1.6  MAINTAINER="chadi.elahmad@gmail.com"
     1.7 +LICENSE="GPL2"
     1.8  TARBALL="$SOURCE-$VERSION.tar.bz2"
     1.9  WEB_SITE="http://www.olofson.net/kobodl"
    1.10  WGET_URL="http://www.olofson.net/kobodl/download/$TARBALL"
    1.11 +TAGS="shooting"
    1.12 +
    1.13  DEPENDS="libsdl libsdl-image gcc-lib-base"
    1.14  BUILD_DEPENDS="libsdl-dev libsdl-image-dev "
    1.15 -TAGS="shooting"
    1.16  
    1.17  # Rules to configure and make the package.
    1.18  compile_rules()
    1.19 @@ -30,22 +32,22 @@
    1.20  		--sharedstatedir=/var/games \
    1.21  		$CONFIGURE_ARGS &&
    1.22  	make &&
    1.23 -	make DESTDIR=$PWD/_pkg install
    1.24 +	make DESTDIR=$DESTDIR install
    1.25  }
    1.26  
    1.27  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.28  genpkg_rules()
    1.29  {
    1.30  	# manually moving the pixmap and the .desktop
    1.31 -	mkdir -p $_pkg/usr/share/pixmaps
    1.32 -	mkdir -p $_pkg/usr/share/applications
    1.33 +	mkdir -p $install/usr/share/pixmaps
    1.34 +	mkdir -p $install/usr/share/applications
    1.35  	tar xzf $src/icons.tar.gz -C $src
    1.36 -	cp -a $src/icons/Ubuntu/*.xpm $_pkg/usr/share/pixmaps
    1.37 -	cp -a $src/icons/Ubuntu/*.desktop $_pkg/usr/share/applications
    1.38 +	cp -a $src/icons/Ubuntu/*.xpm $install/usr/share/pixmaps
    1.39 +	cp -a $src/icons/Ubuntu/*.desktop $install/usr/share/applications
    1.40  
    1.41  	mkdir -p $fs/usr
    1.42 -	cp -a $_pkg/usr/bin $fs/usr
    1.43 -	cp -a $_pkg/usr/share $fs/usr/share
    1.44 +	cp -a $install/usr/bin $fs/usr
    1.45 +	cp -a $install/usr/share $fs/usr/share
    1.46  
    1.47  	mkdir -p $fs/var/games/kobo-deluxe/scores
    1.48  	chmod 667 $fs/var/games/kobo-deluxe/scores