void-packages/srcpkgs/tinyproxy/template
2021-04-23 10:35:25 +02:00

24 lines
854 B
Bash

# Template file for 'tinyproxy'
pkgname=tinyproxy
version=1.11.0
revision=1
build_style=gnu-configure
configure_args="--enable-transparent --localstatedir=/var tinyproxy_cv_regex_broken=no"
hostmakedepends="asciidoc"
short_desc="Small, efficient HTTP/SSL proxy daemon"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://tinyproxy.github.io/"
distfiles="https://github.com/tinyproxy/${pkgname}/releases/download/${version}/${pkgname}-${version}.tar.xz"
checksum=c1ec81cfc4c551d2c24e0227a5aeeaad8723bd9a39b61cd729e516b82eaa3f32
system_accounts="_tinyproxy"
conf_files="/etc/tinyproxy/tinyproxy.conf"
make_dirs="/var/log/tinyproxy 755 _tinyproxy _tinyproxy"
post_install() {
sed -i $DESTDIR/etc/tinyproxy/tinyproxy.conf \
-e 's/^User .*/User _tinyproxy/' \
-e 's/^Group .*/Group _tinyproxy/'
vsv tinyproxy
}