diff --git a/srcpkgs/miller/template b/srcpkgs/miller/template new file mode 100644 index 00000000000..17ef8d070f4 --- /dev/null +++ b/srcpkgs/miller/template @@ -0,0 +1,21 @@ +# Template file for 'miller' +pkgname=miller +version=2.0.0 +revision=1 +build_pie=yes +short_desc="sed, awk, cut, join, and sort for name-indexed data such as CSV" +maintainer="Christian Neukirchen " +license="BSD-2" +homepage="http://johnkerl.org/miller/" +distfiles="https://github.com/johnkerl/${pkgname}/archive/v${version}.tar.gz" +checksum=50606a7b4cd4c3437aff19de1e9e5bfe9f98b59b84b70a0ee01dacf639dab749 +nocross=yes + +do_build() { + make CCOMP="$CC" CFLAGS="-std=gnu99 $CFLAGS" LDFLAGS="-lm $LDFLAGS" +} + +do_install() { + vbin c/mlr + vlicense LICENSE.txt +}