void-packages/srcpkgs/ok.sh/template

24 lines
550 B
Bash

# Template file for 'ok.sh'
pkgname=ok.sh
version=0.6.1
revision=1
archs=noarch
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=d051cba9301fe14b3d3044ee49e72da929298e29e3df1b61ee0a50f95a967b25
do_check() {
PATH="${PATH}":"${PWD}" make test
}
do_install() {
vbin ok.sh
vlicense LICENSE
}