void-packages/srcpkgs/ok.sh/template

23 lines
542 B
Bash

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