Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 11 additions & 16 deletions srcpkgs/3proxy/template
Original file line number Diff line number Diff line change
@@ -1,26 +1,21 @@
# Template file for '3proxy'
pkgname=3proxy
version=0.8.13
version=0.9.6
revision=1
short_desc="3proxy tiny proxy server"
build_style=cmake
makedepends="openssl-devel"
short_desc="Tiny proxy server"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://3proxy.ru"
distfiles="https://github.com/z3APA3A/3proxy/archive/${version}.tar.gz"
checksum=a6d3cf9dd264315fa6ec848f6fe6c9057db005ce4ca8ed1deb00f6e1c3900f88

do_build() {
make -f Makefile.Linux CC=$CC LN=$CC
}

do_install() {
make -f Makefile.Linux prefix=/usr ETCDIR=/etc/3proxy DESTDIR=$DESTDIR install
}
homepage="https://3proxy.org"
changelog="https://github.com/3proxy/3proxy/releases"
distfiles="https://github.com/3proxy/3proxy/archive/refs/tags/${version}.tar.gz"
checksum=5645111fb146faaaf260c27f0e07e510e8530a7e8a18369474cc8abbedbc9c9a

post_install() {
vinstall cfg/3proxy.cfg.sample 644 /etc/3proxy
vinstall cfg/counters.sample 644 /etc/3proxy
mv "${DESTDIR}/usr/bin/proxy" "${DESTDIR}/usr/bin/3proxy-proxy"
mv "${DESTDIR}/usr/share/man/man8/proxy.8" "${DESTDIR}/usr/share/man/man8/3proxy-proxy.8"

vlicense copying
vsv 3proxy
mv ${DESTDIR}/usr/bin/proxy ${DESTDIR}/usr/bin/3proxy-proxy
}
Loading