diff --git a/srcpkgs/ok.sh/template b/srcpkgs/ok.sh/template new file mode 100644 index 00000000000..1d1de64e435 --- /dev/null +++ b/srcpkgs/ok.sh/template @@ -0,0 +1,22 @@ +# Template file for 'ok.sh' +pkgname=ok.sh +version=0.2.3 +revision=1 +depends="curl jq" +checkdepends="socat ${depends}" +short_desc="A GitHub API client library written in POSIX sh" +maintainer="maxice8 " +license="3-Clause-BSD" +homepage="https://github.com/whiteinge/ok.sh" +distfiles="https://github.com/whiteinge/ok.sh/archive/${version}.tar.gz" +checksum=67a1a9a723505aac37a4f0fd433eb08e1cfad88e004adcf2e0d427fe58ef1ff6 + +do_check() { + PATH="${PATH}":"${PWD}" make test +} + +do_install() { + vbin ok.sh + + vlicense LICENSE +}