24 lines
734 B
Bash
24 lines
734 B
Bash
# Template file for 'up_rewrite'
|
|
pkgname=up_rewrite
|
|
version=1.4.0
|
|
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=c4565b764bbdd7f680e8516e9d38f9942918f9697c140b1693f72cf784875fd5
|
|
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
|
|
}
|