wok-next view screenlets/receipt @ rev 19682
Up at-spi2-atk, at-spi2-core, atk, atkmm, glibmm, gobject-introspection, libgiomm, libsigc++
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Apr 10 00:21:34 2017 +0300 (2017-04-10) |
parents | 380ffe05937a |
children | 2f03cb67a994 |
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 }