# Maintainer: Natanael Copa pkgname=shadowsocks-libev pkgver=3.3.1 pkgrel=0 pkgdesc="lightweight secured SOCKS5 proxy" url="https://shadowsocks.org/en/download/servers.html" arch="all" license="GPL-3.0-or-later" makedepends="asciidoc autoconf automake libtool linux-headers libcorkipset-dev mbedtls-dev pcre-dev xmlto libev-dev c-ares-dev libsodium-dev zlib-dev libbloom-dev" subpackages="$pkgname-dev $pkgname-doc lib$pkgname:libs" source="shadowsocks-libev-$pkgver.tar.gz::https://github.com/shadowsocks/shadowsocks-libev/archive/v$pkgver.tar.gz use-upstream-libcorkipset-libbloom.patch " prepare() { default_prepare ./autogen.sh } build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --enable-shared \ --enable-system-shared-lib make } check() { make check } package() { make DESTDIR="$pkgdir" install } sha512sums="a2f5f257fb701f03cc24d1d86df0e41aa2589c95a0e694c3b7fe19af68fa9ad8c61de631320525338d5579a60c978bb0fb741a85a9606110ff1077cb9c655eba shadowsocks-libev-3.3.1.tar.gz 6e14365fb65731e4f9573b39dd7849d47392b39db52aeffee0e91ee767db2361b053f02bc96cc439e5b677d85c09cd44fd905d6b1fca8b10d2e650d8c41a16e0 use-upstream-libcorkipset-libbloom.patch"