wok-6.x view cbatticon/receipt @ rev 25150
updated proftpd-tls (1.3.6d -> 1.3.7d)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 29 17:07:59 2022 +0100 (2022-06-29) |
parents | 00a42830d020 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="cbatticon"
4 VERSION="1.6.10"
5 CATEGORY="multimedia"
6 SHORT_DESC="A lightweight and fast battery icon for the system tray."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/valr/cbatticon"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
14 DEPENDS="glib gtk+ libnotify"
15 BUILD_DEPENDS="glib-dev gtk+-dev libnotify-dev"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 make WITH_GTK3=0 DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/share/locale $fs/usr/share
36 }