wok-current view wbarconf/receipt @ rev 25084
updated p4wn (1.0 -> 2.01)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 15 17:34:03 2022 +0100 (2022-06-15) |
parents | 505d1daeed6c |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="wbarconf"
4 VERSION="0.7.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="Configuration GUI for wbar written in Python and GTK"
7 MAINTAINER="gokhlayeh@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://store.kde.org/p/1130050/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="http://mirror.its.dal.ca/freebsd/distfiles/$TARBALL"
13 DEPENDS="wbar python pygtk pygobject"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
19 sed '/wbarconf/!d;s|.*wbarconf-||;s|.tar.*||' | sort -Vr | sed q
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/bin $fs/usr/share/wbarconf \
26 $fs/usr/share/pixmaps
27 cp -a $src/wbarconf $fs/usr/bin
28 cp -a $src/locale $fs/usr/share/locale
29 # Add pt_BR traduction, thanks blconde.
30 cp -a stuff/pt_BR $fs/usr/share/locale
31 cp -a $src/messages.pot $fs/usr/share/wbarconf
32 cp -a $src/wbarbacks $fs/usr/share/wbarconf
33 cp -a $src/wbarconf.png $fs/usr/share/pixmaps
34 }