void-packages/srcpkgs/up_rewrite/template

24 lines
734 B
Bash

# Template file for 'up_rewrite'
pkgname=up_rewrite
version=1.1.1
revision=1
wrksrc="common-proxies-${version}"
build_style=go
go_import_path="github.com/karmanyaahm/up_rewrite"
go_ldflags="-X $go_import_path/config.Version=$version"
short_desc="Rewrite Proxy for UnifiedPush written in Go"
maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
license="MIT"
homepage="https://unifiedpush.org"
distfiles="https://github.com/UnifiedPush/common-proxies/archive/v${version}.tar.gz"
checksum=178d99a053afeeb64bff7149415d14a5f9b809af4d2c081ec4fbfe33ae55428f
conf_files="/etc/up_rewrite/config.toml"
system_accounts="_up_rewrite"
post_install() {
vinstall example-config.toml 644 etc/up_rewrite config.toml
vlicense LICENSE
vsv up_rewrite
}