diff --git a/srcpkgs/kona/template b/srcpkgs/kona/template new file mode 100644 index 0000000000..f8318e7454 --- /dev/null +++ b/srcpkgs/kona/template @@ -0,0 +1,21 @@ +# Template file for 'kona' +pkgname=kona +version=3.20 +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=c32967018a6f09672b3f4fcbc249c04bb40091dd3db0933670275a29926c3b79 + +do_build() { + make ${makejobs} k \ + CC="$CC" PRODFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS -lm -ldl" +} + +do_install() { + vbin k + vlicense LICENSE +} diff --git a/srcpkgs/kona/update b/srcpkgs/kona/update new file mode 100644 index 0000000000..f4d8fdae8c --- /dev/null +++ b/srcpkgs/kona/update @@ -0,0 +1 @@ +pattern='Win\.\K[\d.]+(?=-64)'