wok rev 5621

Up: sudoku-savant (1.3) Improvment and pkg clean-up
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 27 09:09:07 2010 +0200 (2010-05-27)
parents 8f591bab8b6f
children 1b13012c30f1
files sudoku-savant/receipt sudoku-savant/stuff/sudoku-savant.desktop sudoku-savant/stuff/sudoku-savant.mo sudoku-savant/stuff/sudoku-savant.png
line diff
     1.1 --- a/sudoku-savant/receipt	Thu May 27 08:34:49 2010 +0200
     1.2 +++ b/sudoku-savant/receipt	Thu May 27 09:09:07 2010 +0200
     1.3 @@ -1,13 +1,13 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="sudoku-savant"
     1.7 -VERSION="1.2.1"
     1.8 +VERSION="1.3"
     1.9  CATEGORY="games"
    1.10  SHORT_DESC="Sudoku games/generator using GTK."
    1.11 -DEPENDS="expat gtk+ xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor \
    1.12 -xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrandr \
    1.13 -xorg-libXrender xorg-libXdamage gcc-lib-base"
    1.14 -BUILD_DEPENDS="gtk+-dev"
    1.15 +DEPENDS="expat gtk+ xorg-libX11 xorg-libXau xorg-libXcomposite \
    1.16 +xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXrandr \
    1.17 +xorg-libXrender xorg-libXinerama xorg-libXdamage gcc-lib-base"
    1.18 +BUILD_DEPENDS="gtk+-dev libpthread-stubs"
    1.19  MAINTAINER="pankso@slitaz.org"
    1.20  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.21  WEB_SITE="http://sourceforge.net/projects/sudoku-savant/"
    1.22 @@ -19,22 +19,21 @@
    1.23  	cd $src
    1.24  	./configure \
    1.25  		--prefix=/usr \
    1.26 +		--bindir=/usr/games \
    1.27  		--mandir=/usr/share/man \
    1.28  		$CONFIGURE_ARGS &&
    1.29  	make &&
    1.30  	make DESTDIR=$PWD/_pkg install
    1.31 -	# No desktop-file-utils
    1.32 -	echo "Continue..."
    1.33 +	# desktop-file-install workaround
    1.34 +	[ -x _pkg/usr/games/sudoku-savant ] && \
    1.35 +		echo "Continue: desktop-file-install dont support busybox install..."
    1.36  }
    1.37  
    1.38  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.39  genpkg_rules()
    1.40  {
    1.41 -	mkdir -p $fs/usr
    1.42 -	cp -a $_pkg/usr/bin $fs/usr
    1.43 -	# Temporary copy translation (sended to author, will propably 
    1.44 -	# be include in the next release).
    1.45 -	mkdir -p $fs/usr/share/locale/fr/LC_MESSAGES
    1.46 -	cp stuff/*.mo $fs/usr/share/locale/fr/LC_MESSAGES
    1.47 +	mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications
    1.48 +	cp -a $_pkg/usr/games $fs/usr
    1.49 +	cp $src/$PACKAGE.png $fs/usr/share/pixmaps
    1.50 +	cp $src/$PACKAGE.desktop $fs/usr/share/applications
    1.51  }
    1.52 -
     2.1 --- a/sudoku-savant/stuff/sudoku-savant.desktop	Thu May 27 08:34:49 2010 +0200
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,11 +0,0 @@
     2.4 -[Desktop Entry]
     2.5 -Type=Application
     2.6 -Encoding=UTF-8
     2.7 -Name=Sudoku Savant
     2.8 -Exec=sudoku-savant
     2.9 -Icon=sudoku-savant.png
    2.10 -Terminal=false
    2.11 -Categories=GNOME;GTK;Application;Game;
    2.12 -Comment=Generate and solve Sudoku puzzles
    2.13 -Comment[de]=Erzeugen und Lösen von Sudokus
    2.14 -Comment[fr]=Générer et résoudre des puzzles Sudoku
     3.1 Binary file sudoku-savant/stuff/sudoku-savant.mo has changed
     4.1 Binary file sudoku-savant/stuff/sudoku-savant.png has changed