void-packages/srcpkgs/ok.sh/template

23 lines
542 B
Bash

# Template file for 'ok.sh'
pkgname=ok.sh
version=0.3.0
revision=1
depends="curl jq"
checkdepends="socat ${depends}"
short_desc="A GitHub API client library written in POSIX sh"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="BSD-3-Clause"
homepage="https://github.com/whiteinge/ok.sh"
distfiles="https://github.com/whiteinge/ok.sh/archive/${version}.tar.gz"
checksum=f517d3b129855dadd49a117609f6af3b8f8ce70e42d25a780acfcfc303c0b2fa
do_check() {
PATH="${PATH}":"${PWD}" make test
}
do_install() {
vbin ok.sh
vlicense LICENSE
}