diff --git a/srcpkgs/3proxy/template b/srcpkgs/3proxy/template index ccba46ed9e4ade..2398b466ede5be 100644 --- a/srcpkgs/3proxy/template +++ b/srcpkgs/3proxy/template @@ -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 " 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 }