# Contributor: Stefano Marinelli <stefano@dragas.it>
# Maintainer: Stefano Marinelli <stefano@dragas.it>
pkgname=sunwait
pkgver=0.8
pkgrel=1
pkgdesc="Sunwait calculates sunrise or sunset times with civil, nautical, astronomical and custom twilights."
url="https://sourceforge.net/projects/sunwait4windows/"
arch="all"
license="GPL-3.0-only"
options="!check" # No test suite available
source="https://downloads.sourceforge.net/sunwait4windows/sunwait${pkgver/./-}.tar"
builddir="$srcdir/sunwait/$pkgver/"

build() {
	make
}

package() {
	install -Dm755 sunwait -t "$pkgdir"/usr/bin/
}

sha512sums="
5b54769d15c5bbbe4a43db1a98c92b6324f3f7718d5653482de056dcc2aede676077d89224f9b3744b4f68d74df63abbabf82c7d8abfe189f4c3028b7be98f69  sunwait0-8.tar
"
