wok annotate xfce4-notifyd/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (2022-05-21)
parents 17091bc7c301
children
rev   line source
al@14136 1 # SliTaz package receipt.
al@14136 2
al@14136 3 PACKAGE="xfce4-notifyd"
al@14136 4 VERSION="0.2.2"
al@14136 5 HI_VERSION=$(echo $VERSION | cut -d. -f1,2)
al@14136 6 CATEGORY="development"
al@14136 7 SHORT_DESC="Simple, visually-appealing notification daemon for Xfce"
pascal@14277 8 MAINTAINER="al.bobylev@gmail.com"
pascal@15000 9 LICENSE="GPL2"
pascal@20671 10 WEB_SITE="https://goodies.xfce.org/projects/applications/xfce4-notifyd"
al@14136 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@24972 12 WGET_URL="https://archive.xfce.org/src/apps/$PACKAGE/$HI_VERSION/$TARBALL"
al@14136 13
al@14136 14 DEPENDS="libxfce4ui"
al@14136 15 BUILD_DEPENDS="libxfce4ui-dev libxfconf-dev"
al@14136 16
pascal@24415 17 # What is the latest version available today?
pascal@24415 18 current_version()
pascal@24415 19 {
pascal@24415 20 wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
pascal@24415 21 sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
pascal@24415 22 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
pascal@24415 23 }
pascal@24415 24
al@14136 25 # Rules to configure and make the package.
al@14136 26 compile_rules()
al@14136 27 {
al@14136 28 ./configure --disable-debug $CONFIGURE_ARGS && make && make install
al@14136 29 }
al@14136 30
al@14136 31 # Rules to gen a SliTaz package suitable for Tazpkg.
al@14136 32 genpkg_rules()
al@14136 33 {
al@14136 34 cp -a $install/* $fs
al@14136 35 }