void-packages/srcpkgs/xq-api/template
Noel Cower 460bc42c6a xq-api: update to 0.5.0.
Adds the RELOAD_EVERY config option to set the -reload-every flag for
the service.
2021-02-27 21:26:07 -08:00

22 lines
630 B
Bash

# Template file for 'xq-api'
pkgname=xq-api
version=0.5.0
revision=1
build_style=go
go_import_path=go.spiff.io/xq-api
conf_files="/etc/sv/xq-api/conf"
make_dirs="/var/lib/xq-api 0755 _xqapi _xqapi"
short_desc="HTTP-based xbps repodata query API"
maintainer="Noel Cower <ncower@nil.dev>"
license="BSD-2-Clause"
homepage="https://github.com/nilium/xq-api"
distfiles="https://github.com/nilium/xq-api/archive/v${version}.tar.gz"
checksum=087940a16830eaf821abfcb8c6e0daad47078b4859b9acf236464bfca809ed43
system_accounts="_xqapi"
_xqapi_homedir="/var/lib/xq-api"
post_install() {
vman xq-api.8
vlicense COPYING NOTICE
vsv xq-api
}