wok view zim/receipt @ rev 14276
Add: primateplunge stuff (menu item)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 06 13:21:21 2013 +0000 (2013-04-06) |
parents | 0a6b5118575a |
children | 78cb1e930abd |
line source
1 # SliTaz package receipt.
3 PACKAGE="zim"
4 VERSION="0.56"
5 CATEGORY="utilities"
6 SHORT_DESC="A desktop wiki."
7 MAINTAINER="gokhlayeh@slitaz.org"
8 DEPENDS="python pygtk pygobject python-simplejson python-xdg desktop-file-utils shared-mime-info xdg-utils"
9 BUILD_DEPENDS="$DEPENDS pycairo-dev pygobject-dev pygtk-dev python-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://zim-wiki.org/"
12 WGET_URL="http://zim-wiki.org/downloads/$TARBALL"
13 TAGS="wiki notebook"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./setup.py install --root=$DESTDIR install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr
26 cp -a $_pkg/usr $fs
27 }
29 post_install()
30 {
31 echo -n "Processing post-install commands..."
32 # Create mimeinfo.cache in /usr/share/applications
33 chroot "$1/" update-desktop-database
34 chroot "$1/" /usr/bin/update-mime-database /usr/share/mime
35 chroot "$1/" xdg-icon-resource install --context mimetypes \
36 --size 64 /usr/share/pixmaps/zim.png application-x-zim-notebook
37 status
38 }