wok annotate screenlets/receipt @ rev 21891

updated screenlets (0.1.6 -> 0.1.7)
author Hans-G?nter Theisgen
date Thu Oct 03 11:24:20 2019 +0100 (8 months ago)
parents 9b3e5f996086
children
rev   line source
pascal@12973 1 # SliTaz package receipt.
pascal@12973 2
pascal@12973 3 PACKAGE="screenlets"
Hans-G?nter@21891 4 VERSION="0.1.7"
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"
Hans-G?nter@21891 9 WEB_SITE="https://launchpad.net/screenlets/"
Hans-G?nter@21891 10
pascal@12973 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@12973 12 WGET_URL="https://launchpad.net/screenlets/trunk/$VERSION/+download/$TARBALL"
pascal@12973 13
Hans-G?nter@21891 14 DEPENDS="beautifulsoup dbus-python gnome-icon-theme gnome-python-desktop \
Hans-G?nter@21891 15 pygtk python python-xdg"
Hans-G?nter@21891 16 BUILD_DEPENDS="python-dev"
pascal@12973 17
pascal@12973 18 # Rules to configure and make the package.
pascal@12973 19 compile_rules()
pascal@12973 20 {
pascal@12973 21 python setup.py install --root=$install
pascal@12973 22 }
pascal@12973 23
pascal@12973 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@12973 25 genpkg_rules()
pascal@12973 26 {
Hans-G?nter@21891 27 mkdir -p $fs/usr/share/icons
Hans-G?nter@21891 28 mkdir -p $fs/etc/screenlets
Hans-G?nter@21891 29
Hans-G?nter@21891 30 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21891 31 cp -a $install/usr/lib $fs/usr
Hans-G?nter@21891 32 cp -a $install/usr/share/screenlets* $fs/usr/share
Hans-G?nter@21891 33 cp -a $install/usr/share/icons/hicolor $fs/usr/share/icons
pascal@12973 34 echo '/usr' > $fs/etc/screenlets/prefix
pascal@12973 35 }
pascal@12973 36
pascal@12973 37 # Post install/remove commands for Tazpkg.
pascal@12973 38 post_install()
pascal@12973 39 {
al@18086 40 chroot "$1/" /usr/bin/gdk-pixbuf-query-loaders --update-cache
pascal@12973 41 }
pascal@12973 42
pascal@12973 43 post_remove()
pascal@12973 44 {
pascal@19890 45 [ -x "$1/usr/bin/gdk-pixbuf-query-loaders" ] &&
al@18086 46 chroot "$1/" /usr/bin/gdk-pixbuf-query-loaders --update-cache
pascal@12973 47 }