void-packages/srcpkgs/sunwait/template
Michael Aldridge 902807f15e <various>: reassign package ownership from kulinacs to maldridge
@kulinacs has requested to orphan all currently owned packages
in #9542.  This commit reassigns all packages affected to
@the-maldridge.

[skip ci]

Closes: #9544 [via git-merge-pr]
2017-11-25 23:53:58 -08:00

19 lines
535 B
Bash

# Template file for 'sunwait'
pkgname=sunwait
version=0.20041208
revision=1
wrksrc="${pkgname}-${version##*.}"
build_style=gnu-makefile
short_desc="A small C program calculating sunrise and sunset"
maintainer="Michael Aldridge <maldridge@VoidLinux.eu>"
license="GPL-2"
homepage="http://www.risacher.org/sunwait/"
distfiles="${homepage}${pkgname}-${version##*.}.tar.gz"
checksum=46ecd64142e0c7c2decac8df241b78ccae0d1b323929fb4d61aa1acc16a9ff96
pre_build() {
sed -i 's/\(-lm\)/\1 $(LDFLAGS)/' Makefile
}
do_install() {
vbin sunwait
}