From 0a46d5bc5fbd467d8cb6090a30cd96160317e1a0 Mon Sep 17 00:00:00 2001 From: Nicklaus McClendon Date: Tue, 2 May 2017 23:58:52 -0500 Subject: [PATCH] New package: sunwait-0.20041208 Closes: #6318 [via git-merge-pr] --- srcpkgs/sunwait/template | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 srcpkgs/sunwait/template diff --git a/srcpkgs/sunwait/template b/srcpkgs/sunwait/template new file mode 100644 index 00000000000..0720e2da2fe --- /dev/null +++ b/srcpkgs/sunwait/template @@ -0,0 +1,19 @@ +# 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="Nicklaus McClendon " +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 +}