wok-current annotate alarm-clock/receipt @ rev 24107

updated adminer (4.7.5 -> 4.8.1)
author Hans-G?nter Theisgen
date Sat Sep 25 17:50:51 2021 +0100 (2021-09-25)
parents e53f2d90f7d0
children 095836df71b7
rev   line source
pascal@11216 1 # SliTaz package receipt.
pascal@11216 2
pascal@11216 3 PACKAGE="alarm-clock"
Hans-G?nter@22475 4 VERSION="1.4.9"
pascal@11216 5 CATEGORY="utilities"
Hans-G?nter@22475 6 TAGS="clock reminder"
Hans-G?nter@22475 7 SHORT_DESC="Simple GTK alarm clock."
pascal@11216 8 MAINTAINER="pankso@slitaz.org"
al@18541 9 LICENSE="GPL3"
Hans-G?nter@22475 10 #WEB_SITE="https://web.archive.org/web/20100209072308/http://www.alarm-clock.pl/"
Hans-G?nter@22475 11 WEB_SITE="https://github.com/shaggytwodope/alarm-clock"
Hans-G?nter@22475 12
Hans-G?nter@22475 13 TARBALL="$PACKAGE-$VERSION.tar.gz"
gokhlayeh@12063 14 #WGET_URL="http://www.alarm-clock.pl/files/$TARBALL"
Hans-G?nter@22475 15 #WGET_URL="http://mirror.slitaz.org/sources/packages/a/$TARBALL"
Hans-G?nter@22475 16 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
pascal@11216 17
Hans-G?nter@22475 18 DEPENDS="gstreamer-1.0 gtk+ libunique libnotify"
Hans-G?nter@22477 19 BUILD_DEPENDS="$DEPENDS autoconf automake file gstreamer-1.0-dev gtk+-dev \
Hans-G?nter@22475 20 intltool libnotify-dev libtool libunique-dev"
pascal@14999 21
pascal@24055 22 current_version()
pascal@24055 23 {
pascal@24055 24 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 25 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 26 }
pascal@24055 27
pascal@11216 28 # Rules to configure and make the package.
pascal@11216 29 compile_rules()
pascal@11216 30 {
pascal@17623 31 sed -i 's/.*= notify_notification_new_with_status_icon/#define notify_notification_new_with_status_icon(a,b,c,d) notify_notification_new(a,b,gtk_status_icon_get_icon_name(c))\n&/' \
pascal@17622 32 src/alarm_runner.c
pascal@11216 33 chmod +x install-sh
Hans-G?nter@22475 34
Hans-G?nter@22475 35 ./autogen.sh &&
Hans-G?nter@22475 36 make &&
Hans-G?nter@22475 37 make install
pascal@11216 38 }
pascal@11216 39
pascal@11216 40 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11216 41 genpkg_rules()
pascal@11216 42 {
pascal@11216 43 mkdir -p $fs/usr/share
Hans-G?nter@22475 44
Hans-G?nter@22475 45 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22475 46 cp -a $install/usr/share/alarm-clock $fs/usr/share
Hans-G?nter@22475 47 cp -a $install/usr/share/icons $fs/usr/share
pascal@11216 48 }