# Template file for 'kona' pkgname=kona version=3.25 revision=1 wrksrc="${pkgname}-Win.${version}-64" short_desc="Open-source implementation of the K programming language" maintainer="Christian Neukirchen " license="MIT" homepage="https://github.com/kevinlawler/kona" distfiles="https://github.com/kevinlawler/${pkgname}/archive/Win.${version}-64.tar.gz" checksum=09124addfb565dffa9bd53d89d710dc243169f3eb7b07821bc972cc65dee9428 post_extract() { sed -i '/netdb.h/a#include ' src/incs.h } do_build() { make ${makejobs} k \ CC="$CC" PRODFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS -lm -ldl" } do_install() { vbin k vlicense LICENSE }