void-packages/srcpkgs/ok.sh/template

23 lines
537 B
Bash

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