void-packages/srcpkgs/xdaliclock/template
2015-04-11 18:13:59 +02:00

24 lines
690 B
Bash

# Template file for 'xdaliclock'
pkgname=xdaliclock
version=2.42
revision=2
wrksrc=$pkgname-$version/X11
build_style=gnu-configure
makedepends="libXext-devel libXt-devel"
short_desc="Melting digital clock"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="MIT/X11"
homepage="http://www.jwz.org/xdaliclock/"
distfiles="http://www.jwz.org/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=2e2aa266cbc3482e3fcf272c5f38004e583bb6871e717b6e07f2042078e7c9cd
post_extract() {
sed -i -e '/a trivial ANSI C/,+10s/ { (exit 1); exit 1; };//' \
-e '/INCLUDES=/s/.*/:/' \
-e '/LDFLAGS=/s/.*/:/' \
configure
}
do_install() {
vbin xdaliclock
vman xdaliclock.man xdaliclock.1
}