wok-next annotate screenlets/receipt @ rev 20976

Follow recent changes in the Python renames
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Sep 25 17:35:51 2018 +0300 (2018-09-25)
parents c022997c7a57
children d5aab818505e
rev   line source
al@20491 1 # SliTaz package receipt v2.
pascal@12973 2
pascal@12973 3 PACKAGE="screenlets"
pascal@12973 4 VERSION="0.1.6"
pascal@12973 5 CATEGORY="system-tools"
al@20491 6 SHORT_DESC="Desktop widgets framework"
pascal@12973 7 MAINTAINER="pankso@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
al@20491 9 WEB_SITE="http://screenlets.org"
al@20491 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
al@20491 14 BUILD_DEPENDS="python-dev gettext"
pascal@12973 15
al@20491 16 compile_rules() {
al@20491 17 python setup.py install --root=$install || return 1
al@20491 18
al@20491 19 mkdir -p $install/etc/screenlets/
al@20491 20 echo '/usr' > $install/etc/screenlets/prefix
pascal@12973 21 }
pascal@12973 22
al@20491 23 genpkg_rules() {
al@20491 24 copy @std
al@20976 25 DEPENDS="python python-pygtk python-pyxdg python-beautifulsoup4 gnome-python-desktop \
al@20919 26 python-dbus gnome-icon-theme"
pascal@12973 27 }
pascal@12973 28
al@20491 29 post_install() {
al@18086 30 chroot "$1/" /usr/bin/gdk-pixbuf-query-loaders --update-cache
pascal@12973 31 }
pascal@12973 32
al@20491 33 post_remove() {
al@18086 34 chroot "$1/" /usr/bin/gdk-pixbuf-query-loaders --update-cache
pascal@12973 35 }