23 lines
632 B
Bash
23 lines
632 B
Bash
# Template file for 'xq-api'
|
|
pkgname=xq-api
|
|
version=0.3.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@gmail.com>"
|
|
license="BSD-2-Clause"
|
|
homepage="https://github.com/nilium/xq-api"
|
|
distfiles="https://github.com/nilium/xq-api/archive/v${version}.tar.gz"
|
|
checksum=2db5089928be8c809fb5df40b35351fb379912283eee54edcdb16f93e6d341ae
|
|
system_accounts="_xqapi"
|
|
_xqapi_homedir="/var/lib/xq-api"
|
|
|
|
post_install() {
|
|
vman xq-api.8
|
|
vlicense COPYING NOTICE
|
|
vsv xq-api
|
|
}
|