wok-current view screenlets/receipt @ rev 21626
updated opencore-amr and opencore-amr-dev (0.1.3 -> 0.1.5)
author | Hans-G?nter Theisgen |
---|---|
date | Mon May 27 16:50:36 2019 +0100 (2019-05-27) |
parents | 181b1bc0998b |
children | a478cfac043d |
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="https://launchpad.net/screenlets"
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 [ -x "$1/usr/bin/gdk-pixbuf-query-loaders" ] &&
43 chroot "$1/" /usr/bin/gdk-pixbuf-query-loaders --update-cache
44 }