wok view 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 (6 months ago)
parents 9b3e5f996086
children
line source
1 # SliTaz package receipt.
3 PACKAGE="screenlets"
4 VERSION="0.1.7"
5 CATEGORY="system-tools"
6 SHORT_DESC="Desktop widgets framework."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://launchpad.net/screenlets/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://launchpad.net/screenlets/trunk/$VERSION/+download/$TARBALL"
14 DEPENDS="beautifulsoup dbus-python gnome-icon-theme gnome-python-desktop \
15 pygtk python python-xdg"
16 BUILD_DEPENDS="python-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 python setup.py install --root=$install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share/icons
28 mkdir -p $fs/etc/screenlets
30 cp -a $install/usr/bin $fs/usr
31 cp -a $install/usr/lib $fs/usr
32 cp -a $install/usr/share/screenlets* $fs/usr/share
33 cp -a $install/usr/share/icons/hicolor $fs/usr/share/icons
34 echo '/usr' > $fs/etc/screenlets/prefix
35 }
37 # Post install/remove commands for Tazpkg.
38 post_install()
39 {
40 chroot "$1/" /usr/bin/gdk-pixbuf-query-loaders --update-cache
41 }
43 post_remove()
44 {
45 [ -x "$1/usr/bin/gdk-pixbuf-query-loaders" ] &&
46 chroot "$1/" /usr/bin/gdk-pixbuf-query-loaders --update-cache
47 }