wok-current view adeskbar/receipt @ rev 25685
Add checkspace / fetchall feature for tazpkg
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Mar 14 20:28:39 2024 +0000 (8 months ago) |
parents | 22619ed9cc54 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="adeskbar"
4 VERSION="0.5.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="ADesk Bar - application launcher for Openbox"
7 MAINTAINER="gokhlayeh@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://launchpad.net/adeskbar"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="http://download.tuxfamily.org/$PACKAGE/sources/$TARBALL"
13 DEPENDS="python pygtk pycairo gnome-menus python-xdg"
14 SUGGESTED="python-xlib dbus-python python-pyalsaaudio"
16 current_version()
17 {
18 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
19 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p \
26 $fs/usr/share/adeskbar \
27 $fs/usr/bin \
28 $fs/usr/share/pixmaps \
29 $fs/usr/share/applications
30 cp -a $src/src/* $fs/usr/share/adeskbar
31 cp $src/src/images/adeskbar.png $fs/usr/share/pixmaps
32 cp $src/adeskbar.desktop $fs/usr/share/applications
33 cp $src/adeskbar.sh $fs/usr/bin/adeskbar
34 chown -R root:root $fs
35 find $fs -type f -name '*.png' -exec chmod 644 \{\} \;
36 }