2019-01-11 19:43:52 +00:00
|
|
|
# Template file for 'xq-api'
|
|
|
|
pkgname=xq-api
|
2019-01-20 22:46:46 +00:00
|
|
|
version=0.2.0
|
2019-01-11 19:43:52 +00:00
|
|
|
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"
|
2019-01-20 22:46:46 +00:00
|
|
|
checksum=34d88a8ee3448aa066d79479e0f35736cf5e63d20a0358ea7fb25860b40991c7
|
2019-01-11 19:43:52 +00:00
|
|
|
system_accounts="_xqapi"
|
|
|
|
_xqapi_homedir="/var/lib/xq-api"
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vman xq-api.8
|
|
|
|
vlicense COPYING
|
|
|
|
vsv xq-api
|
|
|
|
}
|