wok rev 10785

geany: fix icon for desktop file (*.desktop use icon in /usr/share/pixmaps, tig pkg was ok before, dont modify it anymore!!!)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Jun 01 14:00:48 2011 +0200 (2011-06-01)
parents ee88cfdf14a2
children c7430e68b5b7
files geany/receipt
line diff
     1.1 --- a/geany/receipt	Wed Jun 01 13:55:51 2011 +0200
     1.2 +++ b/geany/receipt	Wed Jun 01 14:00:48 2011 +0200
     1.3 @@ -5,38 +5,37 @@
     1.4  CATEGORY="development"
     1.5  SHORT_DESC="Small and fast IDE using GTK+ toolkit."
     1.6  MAINTAINER="pankso@slitaz.org"
     1.7 +SUGGESTED="geany-plugins vte"
     1.8 +TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.9 +WEB_SITE="http://geany.uvena.de/"
    1.10 +WGET_URL="http://download.geany.org/$TARBALL"
    1.11 +
    1.12  DEPENDS="glibc-base glib gcc-lib-base libgio expat zlib libxcb xcb-util \
    1.13  gtk+ atk cairo pango pixman libpng fontconfig freetype \
    1.14  xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage \
    1.15  xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender"
    1.16 -SUGGESTED="geany-plugins vte"
    1.17  BUILD_DEPENDS="glib-dev expat-dev gtk+-dev atk-dev pango-dev cairo-dev pixman-dev \
    1.18  libpng-dev freetype-dev fontconfig-dev perl-xml-parser intltool gettext \
    1.19  xorg-libXrender-dev xorg-xproto xorg-renderproto xorg-libX11-dev \
    1.20  xorg-kbproto xorg-libXau-dev xorg-libXdmcp-dev glibc-locale"
    1.21 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.22 -WEB_SITE="http://geany.uvena.de/"
    1.23 -WGET_URL="http://download.geany.org/$TARBALL"
    1.24  
    1.25  # Rules to configure and make the package.
    1.26  # Without vte : --disable-vte
    1.27  compile_rules()
    1.28  {
    1.29  	cd $src
    1.30 -	./configure \
    1.31 -		--prefix=/usr \
    1.32 -		--mandir=/usr/share/man \
    1.33 -    	$CONFIGURE_ARGS &&
    1.34 -	make && make DESTDIR=$PWD/_pkg install
    1.35 +	./configure $CONFIGURE_ARGS &&
    1.36 +	make && make install
    1.37  }
    1.38  
    1.39  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.40  genpkg_rules()
    1.41  {
    1.42 -	mkdir -p $fs/usr/share
    1.43 +	mkdir -p $fs/usr/share/pixmaps
    1.44  	cp -a $_pkg/usr/bin $fs/usr
    1.45  	cp -a $_pkg/usr/share/geany $fs/usr/share
    1.46 -	cp -a stuff/filetype_extensions.conf $fs/usr/share/geany
    1.47 +	cp -a $stuff/filetype_extensions.conf $fs/usr/share/geany
    1.48  	rm $fs/usr/share/geany/GPL-2
    1.49 -	cp -a $_pkg/usr/share/icons $fs/usr/share
    1.50 +	cp -a $_pkg/usr/share/icons/*/48x48/apps/geany.png
    1.51 +		$fs/usr/share/pixmaps
    1.52  }