wok-current annotate wbarconf/receipt @ rev 25425

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