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