void-packages/srcpkgs/xdaliclock/template
2015-04-13 11:45:14 +02:00

24 lines
679 B
Bash

# Template file for 'xdaliclock'
pkgname=xdaliclock
version=2.42
revision=3
build_wrksrc=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
pre_configure() {
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
}