wok annotate zim/receipt @ rev 16329

ARM: add xorg-xprop - Used in the new SliTaz Tiny/Touch Screen (sts) desktop
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 10 19:50:37 2014 +0200 (2014-04-10)
parents 2fe3e9901e7a
children 533c0cab6960
rev   line source
pankso@3369 1 # SliTaz package receipt.
pankso@3369 2
pankso@3369 3 PACKAGE="zim"
samuel_trassare@13417 4 VERSION="0.56"
pankso@3369 5 CATEGORY="utilities"
pankso@3369 6 SHORT_DESC="A desktop wiki."
gokhlayeh@7034 7 MAINTAINER="gokhlayeh@slitaz.org"
pascal@15198 8 LICENSE="GPL2"
gokhlayeh@5873 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@3369 10 WEB_SITE="http://zim-wiki.org/"
gokhlayeh@5873 11 WGET_URL="http://zim-wiki.org/downloads/$TARBALL"
gokhlayeh@5873 12 TAGS="wiki notebook"
pankso@3369 13
pascal@15198 14 DEPENDS="python pygtk pygobject python-simplejson python-xdg desktop-file-utils shared-mime-info xdg-utils"
pascal@15198 15 BUILD_DEPENDS="$DEPENDS pycairo-dev pygobject-dev pygtk-dev python-dev"
pascal@15198 16
pankso@3369 17 # Rules to configure and make the package.
pankso@3369 18 compile_rules()
pankso@3369 19 {
pankso@3369 20 cd $src
slaxemulator@10187 21 ./setup.py install --root=$DESTDIR install
pankso@3369 22 }
pankso@3369 23
pankso@3369 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@3369 25 genpkg_rules()
pankso@3369 26 {
pankso@3369 27 mkdir -p $fs/usr
pascal@15198 28 cp -a $install/usr $fs
pankso@3369 29 }
pankso@3369 30
pankso@3369 31 post_install()
pankso@3369 32 {
pankso@3369 33 echo -n "Processing post-install commands..."
pankso@3369 34 # Create mimeinfo.cache in /usr/share/applications
pascal@12196 35 chroot "$1/" update-desktop-database
pascal@12196 36 chroot "$1/" /usr/bin/update-mime-database /usr/share/mime
pascal@12196 37 chroot "$1/" xdg-icon-resource install --context mimetypes \
gokhlayeh@5873 38 --size 64 /usr/share/pixmaps/zim.png application-x-zim-notebook
pankso@3369 39 status
hipeng@10957 40 }