wok rev 5873

Up: Zim 0.47
author Antoine Bodin <gokhlayeh@mailoo.org>
date Tue Jul 20 19:06:03 2010 +0200 (2010-07-20)
parents 3a5b24125557
children df5d56b9c4ae
files zim/receipt
line diff
     1.1 --- a/zim/receipt	Tue Jul 20 19:00:46 2010 +0200
     1.2 +++ b/zim/receipt	Tue Jul 20 19:06:03 2010 +0200
     1.3 @@ -1,26 +1,22 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="zim"
     1.7 -VERSION="0.29"
     1.8 +VERSION="0.47"
     1.9  CATEGORY="utilities"
    1.10  SHORT_DESC="A desktop wiki."
    1.11 -MAINTAINER="paul@slitaz.org"
    1.12 -DEPENDS="perl perl-gtk2 perl-file-basedir perl-file-desktopentry \
    1.13 -perl-file-mimeinfo desktop-file-utils xdg-utils"
    1.14 -BUILD_DEPENDS="perl perl-gtk2 perl-file-basedir perl-file-desktopentry \
    1.15 -perl-file-mimeinfo desktop-file-utils xdg-utils"
    1.16 -SOURCE="Zim"
    1.17 -TARBALL="$SOURCE-$VERSION.tar.gz"
    1.18 +MAINTAINER="gokhlayeh@mailoo.org"
    1.19 +DEPENDS="python pygtk pygobject python-simplejson python-xdg desktop-file-utils shared-mime-info xdg-utils"
    1.20 +BUILD_DEPENDS="$DEPENDS pycairo-dev pygobject-dev pygtk-dev python-dev"
    1.21 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.22  WEB_SITE="http://zim-wiki.org/"
    1.23 -WGET_URL="http://www.zim-wiki.org/downloads/$TARBALL"
    1.24 -TAGS="wiki"
    1.25 +WGET_URL="http://zim-wiki.org/downloads/$TARBALL"
    1.26 +TAGS="wiki notebook"
    1.27  
    1.28  # Rules to configure and make the package.
    1.29  compile_rules()
    1.30  {
    1.31  	cd $src
    1.32 -	./configure
    1.33 -	make && make DESTDIR=$PWD/_pkg install
    1.34 +	./setup.py install --root=$PWD/_pkg install
    1.35  }
    1.36  
    1.37  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.38 @@ -35,6 +31,8 @@
    1.39  	echo -n "Processing post-install commands..." 
    1.40  	# Create mimeinfo.cache in /usr/share/applications
    1.41  	update-desktop-database
    1.42 +	update-mime-database /usr/share/mime
    1.43 +	xdg-icon-resource install --context mimetypes \
    1.44 +--size 64 /usr/share/pixmaps/zim.png application-x-zim-notebook
    1.45  	status
    1.46 -}
    1.47 -
    1.48 +}
    1.49 \ No newline at end of file