wok annotate qarma/receipt @ rev 25770

dool,fake-hwclock,gtkam,xfce4-*-plugin,xlogo: add current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 06 11:29:23 2024 +0000 (2 months ago)
parents 6871e486982f
children
rev   line source
al@16677 1 # SliTaz package receipt.
al@16677 2
al@16677 3 PACKAGE="qarma"
al@16677 4 GITHASH="cdb5319c6e90a045012b9b2059e507b6721e67ba"
al@16677 5 VERSION=${GITHASH:0:7}
al@16677 6 CATEGORY="utilities"
al@16677 7 SHORT_DESC="Zenity Clone for Qt4/Qt5"
al@16677 8 MAINTAINER="al.bobylev@gmail.com"
al@16677 9 LICENSE="GPL2"
al@16677 10 WEB_SITE="https://github.com/luebking/qarma"
al@16677 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@16677 12 WGET_URL="https://github.com/luebking/qarma/archive/$GITHASH.tar.gz"
al@16677 13
al@16677 14 DEPENDS="libQtDBus libQtGui"
al@16677 15 BUILD_DEPENDS="Qt4-dev qmake xorg-libX11-dev wget"
al@16677 16
pascal@24326 17 # What is the latest version available today?
pascal@24326 18 current_version()
pascal@24326 19 {
pascal@24326 20 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
pascal@24326 21 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24326 22 }
pascal@24326 23
al@16677 24 # Rules to configure and make the package.
al@16677 25 compile_rules()
al@16677 26 {
al@16677 27 qmake
al@16677 28 make
al@16677 29 }
al@16677 30
al@16677 31 # Rules to gen a SliTaz package suitable for Tazpkg.
al@16677 32 genpkg_rules()
al@16677 33 {
al@16677 34 install -Dm755 $src/qarma $fs/usr/bin/qarma
al@16677 35 }