Skip to content

Commit a517b57

Browse files
PrivacyIsARightDuncaen
authored andcommitted
3proxy: update to 0.9.6
1 parent f0b4bca commit a517b57

1 file changed

Lines changed: 11 additions & 16 deletions

File tree

srcpkgs/3proxy/template

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,21 @@
11
# Template file for '3proxy'
22
pkgname=3proxy
3-
version=0.8.13
3+
version=0.9.6
44
revision=1
5-
short_desc="3proxy tiny proxy server"
5+
build_style=cmake
6+
makedepends="openssl-devel"
7+
short_desc="Tiny proxy server"
68
maintainer="Orphaned <orphan@voidlinux.org>"
79
license="BSD-3-Clause"
8-
homepage="https://3proxy.ru"
9-
distfiles="https://github.com/z3APA3A/3proxy/archive/${version}.tar.gz"
10-
checksum=a6d3cf9dd264315fa6ec848f6fe6c9057db005ce4ca8ed1deb00f6e1c3900f88
11-
12-
do_build() {
13-
make -f Makefile.Linux CC=$CC LN=$CC
14-
}
15-
16-
do_install() {
17-
make -f Makefile.Linux prefix=/usr ETCDIR=/etc/3proxy DESTDIR=$DESTDIR install
18-
}
10+
homepage="https://3proxy.org"
11+
changelog="https://github.com/3proxy/3proxy/releases"
12+
distfiles="https://github.com/3proxy/3proxy/archive/refs/tags/${version}.tar.gz"
13+
checksum=5645111fb146faaaf260c27f0e07e510e8530a7e8a18369474cc8abbedbc9c9a
1914

2015
post_install() {
21-
vinstall cfg/3proxy.cfg.sample 644 /etc/3proxy
22-
vinstall cfg/counters.sample 644 /etc/3proxy
16+
mv "${DESTDIR}/usr/bin/proxy" "${DESTDIR}/usr/bin/3proxy-proxy"
17+
mv "${DESTDIR}/usr/share/man/man8/proxy.8" "${DESTDIR}/usr/share/man/man8/3proxy-proxy.8"
18+
2319
vlicense copying
2420
vsv 3proxy
25-
mv ${DESTDIR}/usr/bin/proxy ${DESTDIR}/usr/bin/3proxy-proxy
2621
}

0 commit comments

Comments
 (0)