wok annotate dzen2/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (24 months ago)
parents c86e41198e76
children a66f312c374b
rev   line source
mallory@1819 1 # SliTaz package receipt.
mallory@1819 2
mallory@1819 3 PACKAGE="dzen2"
mallory@1819 4 VERSION="0.8.5"
pascal@2054 5 CATEGORY="utilities"
al@20422 6 SHORT_DESC="A general purpose messaging and notification program."
mallory@1819 7 MAINTAINER="mallory@sweetpeople.org"
pascal@15579 8 LICENSE="MIT"
mallory@1819 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
mallory@1819 10 WEB_SITE="http://gotmor.googlepages.com/dzen"
mallory@1819 11 WGET_URL="http://gotmor.googlepages.com/$TARBALL"
pascal@15579 12 TAGS="system monitor notification"
pascal@15579 13
pascal@2514 14 DEPENDS="xorg-libX11 xorg-libXau xorg-libXdmcp"
mallory@1819 15
pascal@24759 16 # What is the latest version available today?
pascal@24759 17 current_version()
pascal@24759 18 {
pascal@24759 19 wget -O - https://github.com/robm/dzen/commits/master 2>/dev/null | \
pascal@24759 20 sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
pascal@24759 21 }
pascal@24759 22
mallory@1819 23 # Rules to configure and make the package.
mallory@1819 24 compile_rules()
mallory@1819 25 {
mallory@1819 26 cd $src
mallory@1819 27 sed -e 's/\/usr\/local/\/usr/' < config.mk > config.mk.slitaz
mallory@1819 28 mv config.mk.slitaz config.mk
pascal@15579 29 make && make DESTDIR=$DESTDIR install
mallory@1819 30 }
mallory@1819 31
mallory@1819 32 # Rules to gen a SliTaz package suitable for Tazpkg.
mallory@1819 33 genpkg_rules()
mallory@1819 34 {
mallory@1819 35 mkdir -p $fs/usr
pascal@15579 36 cp -a $install/usr/bin $fs/usr
mallory@1819 37 }
mallory@1819 38