wok view screenlets/receipt @ rev 19745
xfce-utils: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 18 17:55:27 2017 +0100 (2017-02-18) |
parents | 380ffe05937a |
children | 181b1bc0998b |
line source
1 # SliTaz package receipt.
3 PACKAGE="screenlets"
4 VERSION="0.1.6"
5 CATEGORY="system-tools"
6 SHORT_DESC="Desktop widgets framework."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://screenlets.org"
11 WGET_URL="https://launchpad.net/screenlets/trunk/$VERSION/+download/$TARBALL"
13 DEPENDS="python pygtk python-xdg beautifulsoup gnome-python-desktop \
14 dbus-python gnome-icon-theme"
15 BUILD_DEPENDS="python-dev wget"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 python setup.py install --root=$install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/share/icons $fs/etc/screenlets
27 cp -a $install/usr/bin $fs/usr
28 cp -a $install/usr/lib $fs/usr
29 cp -a $install/usr/share/screenlets* $fs/usr/share
30 cp -a $install/usr/share/icons/hicolor $fs/usr/share/icons
31 echo '/usr' > $fs/etc/screenlets/prefix
32 }
34 # Post install/remove commands for Tazpkg.
35 post_install()
36 {
37 chroot "$1/" /usr/bin/gdk-pixbuf-query-loaders --update-cache
38 }
40 post_remove()
41 {
42 chroot "$1/" /usr/bin/gdk-pixbuf-query-loaders --update-cache
43 }