wok annotate screenlets/receipt @ rev 14979

Up: thunderbird-langpack-es_ES (17.0.8esr)
author Dominique Corbex <domcox@slitaz.org>
date Thu Aug 08 22:21:05 2013 +0200 (2013-08-08)
parents
children 380ffe05937a
rev   line source
pascal@12973 1 # SliTaz package receipt.
pascal@12973 2
pascal@12973 3 PACKAGE="screenlets"
pascal@12973 4 VERSION="0.1.6"
pascal@12973 5 CATEGORY="system-tools"
pascal@12973 6 SHORT_DESC="Desktop widgets framework."
pascal@12973 7 MAINTAINER="pankso@slitaz.org"
pascal@12973 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@12973 9 WEB_SITE="http://screenlets.org"
pascal@12973 10 WGET_URL="https://launchpad.net/screenlets/trunk/$VERSION/+download/$TARBALL"
pascal@12973 11
pascal@12973 12 DEPENDS="python pygtk python-xdg beautifulsoup gnome-python-desktop dbus-python gnome-icon-theme"
pascal@12973 13 BUILD_DEPENDS="python-dev wget"
pascal@12973 14
pascal@12973 15 # Rules to configure and make the package.
pascal@12973 16 compile_rules()
pascal@12973 17 {
pascal@12973 18 cd $src
pascal@12973 19 python setup.py install --root=$install
pascal@12973 20 }
pascal@12973 21
pascal@12973 22 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@12973 23 genpkg_rules()
pascal@12973 24 {
pascal@12973 25 mkdir -p $fs/usr/share/icons $fs/etc/screenlets
pascal@12973 26 cp -a $install/usr/bin $fs/usr
pascal@12973 27 cp -a $install/usr/lib $fs/usr
pascal@12973 28 cp -a $install/usr/share/screenlets* $fs/usr/share
pascal@12973 29 cp -a $install/usr/share/icons/hicolor $fs/usr/share/icons
pascal@12973 30 echo '/usr' > $fs/etc/screenlets/prefix
pascal@12973 31 }
pascal@12973 32
pascal@12973 33 # Post install/remove commands for Tazpkg.
pascal@12973 34 post_install()
pascal@12973 35 {
pascal@12973 36 echo "Processing post-install commands..."
pascal@12973 37 chroot "$1/" /usr/bin/gdk-pixbuf-query-loaders --update-cache
pascal@12973 38 }
pascal@12973 39
pascal@12973 40 post_remove()
pascal@12973 41 {
pascal@12973 42 echo "Processing post-remove commands..."
pascal@12973 43 chroot "$1/" /usr/bin/gdk-pixbuf-query-loaders --update-cache
pascal@12973 44 }
pascal@12973 45
pascal@12973 46