blob: 16bb249584dfc9a60523750a4e4ec0330f2cd3df [file] [log] [blame] [edit]
# Contributor: Alexander Georgievskiy <galeksandrp@gmail.com>
_realname=3proxy
pkgbase=mingw-w64-${_realname}
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
conflicts=("${MINGW_PACKAGE_PREFIX}-libproxy")
pkgver=0.9.0
pkgrel=1
pkgdesc='3proxy - tiny free proxy server (mingw-w64)'
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32')
license=('BSD' 'Apache' 'GPL' 'LGPL')
url="https://github.com/z3APA3A/${_realname}"
depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs")
source=(${_realname}-${pkgver}.tar.gz::"${url}/archive/${pkgver}.tar.gz"
001-win-install.patch)
sha256sums=('a58e253354146b24d9e82b1122cc12af252363e6c7a676ca139607fd23b31c37'
'a12af87ccc044e81365b5afdc853f5007b0ce3b55e715c8cf85dd73d0b7bd307')
prepare() {
cd ${srcdir}/${_realname}-${pkgver}
patch -p1 -i ${srcdir}/001-win-install.patch
mkdir -p bin
}
build() {
cd ${srcdir}/${_realname}-${pkgver}
make -f Makefile.win
}
package() {
cd ${srcdir}/${_realname}-${pkgver}
make DESTDIR=${pkgdir} prefix=${MINGW_PREFIX} install -f Makefile.win
}