wok annotate screenlets/receipt @ rev 16276

Up libfm/pcmanfm and aff to ARM arch
author Christophe Lincoln <pankso@slitaz.org>
date Sat Apr 05 23:47:33 2014 +0200 (2014-04-05)
parents b994d2c0f802
children 7390f8de9846
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@15000 8 LICENSE="GPL2"
pascal@12973 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@12973 10 WEB_SITE="http://screenlets.org"
pascal@12973 11 WGET_URL="https://launchpad.net/screenlets/trunk/$VERSION/+download/$TARBALL"
pascal@12973 12
pascal@12973 13 DEPENDS="python pygtk python-xdg beautifulsoup gnome-python-desktop dbus-python gnome-icon-theme"
pascal@12973 14 BUILD_DEPENDS="python-dev wget"
pascal@12973 15
pascal@12973 16 # Rules to configure and make the package.
pascal@12973 17 compile_rules()
pascal@12973 18 {
pascal@12973 19 cd $src
pascal@12973 20 python setup.py install --root=$install
pascal@12973 21 }
pascal@12973 22
pascal@12973 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@12973 24 genpkg_rules()
pascal@12973 25 {
pascal@12973 26 mkdir -p $fs/usr/share/icons $fs/etc/screenlets
pascal@12973 27 cp -a $install/usr/bin $fs/usr
pascal@12973 28 cp -a $install/usr/lib $fs/usr
pascal@12973 29 cp -a $install/usr/share/screenlets* $fs/usr/share
pascal@12973 30 cp -a $install/usr/share/icons/hicolor $fs/usr/share/icons
pascal@12973 31 echo '/usr' > $fs/etc/screenlets/prefix
pascal@12973 32 }
pascal@12973 33
pascal@12973 34 # Post install/remove commands for Tazpkg.
pascal@12973 35 post_install()
pascal@12973 36 {
pascal@12973 37 echo "Processing post-install commands..."
pascal@12973 38 chroot "$1/" /usr/bin/gdk-pixbuf-query-loaders --update-cache
pascal@12973 39 }
pascal@12973 40
pascal@12973 41 post_remove()
pascal@12973 42 {
pascal@12973 43 echo "Processing post-remove commands..."
pascal@12973 44 chroot "$1/" /usr/bin/gdk-pixbuf-query-loaders --update-cache
pascal@12973 45 }
pascal@12973 46
pascal@12973 47