wok-next view screenlets/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents a3254b6a96ac
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="screenlets"
4 VERSION="0.1.6"
5 CATEGORY="system-tools"
6 SHORT_DESC="Desktop widgets framework"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://web.archive.org/web/20121113151039/http://screenlets.org:80/index.php/Home"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://launchpad.net/screenlets/trunk/$VERSION/+download/$TARBALL"
14 BUILD_DEPENDS="python-dev gettext-dev"
16 compile_rules() {
17 python -B setup.py install --root=$install || return 1
19 mkdir -p $install/etc/screenlets/
20 echo '/usr' > $install/etc/screenlets/prefix
21 }
23 genpkg_rules() {
24 copy @std
25 DEPENDS="python python-pygtk python-pyxdg python-beautifulsoup4 gnome-python-desktop \
26 python-dbus gnome-icon-theme"
27 }
29 post_install() {
30 chroot "$1/" /usr/bin/gdk-pixbuf-query-loaders --update-cache
31 }
33 post_remove() {
34 chroot "$1/" /usr/bin/gdk-pixbuf-query-loaders --update-cache
35 }