void-packages/srcpkgs/ok.sh/template

23 lines
537 B
Bash

# Template file for 'ok.sh'
pkgname=ok.sh
version=0.5.1
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=8903ef52455eaf577fa5fe47fd15025ce4ad43cbd489de905752a34d1a4a502a
do_check() {
PATH="${PATH}":"${PWD}" make test
}
do_install() {
vbin ok.sh
vlicense LICENSE
}