31 lines
770 B
Bash
31 lines
770 B
Bash
# Template file for 'xdaliclock'
|
|
pkgname=xdaliclock
|
|
version=2.44
|
|
revision=2
|
|
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=800db9ad00adaeb73079370fb64452230ff186e670b6fbd36315506caab64fbf
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
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
|
|
}
|