void-packages/srcpkgs/xdaliclock/template

27 lines
732 B
Bash

# Template file for 'xdaliclock'
pkgname=xdaliclock
version=2.43
revision=3
build_wrksrc=X11
build_style=gnu-configure
makedepends="libXext-devel libXt-devel"
short_desc="Melting digital clock"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="X11"
homepage="http://www.jwz.org/xdaliclock/"
distfiles="http://www.jwz.org/xdaliclock/xdaliclock-${version}.tar.gz"
checksum=6b573a8bac23a72e87a1cd9966c28f1d653bdb0b28bb8fd11633a1a4c2fd9fa4
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
sed -n '/Jamie/,/warranty/p' xdaliclock.c > LICENSE
vlicense LICENSE
}