wok-current view cbatticon/receipt @ rev 24700
updated kexec-tools (2.0.17 -> 2.0.23)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 14 07:45:56 2022 +0100 (2022-03-14) |
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 }