[arch-commits] Commit in shadowsocks-libev/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu Mar 9 04:49:56 UTC 2017


    Date: Thursday, March 9, 2017 @ 04:49:55
  Author: felixonmars
Revision: 215340

upgpkg: shadowsocks-libev 3.0.3-1

Modified:
  shadowsocks-libev/trunk/PKGBUILD

----------+
 PKGBUILD |   20 ++++++++++++++------
 1 file changed, 14 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-03-09 04:47:13 UTC (rev 215339)
+++ PKGBUILD	2017-03-09 04:49:55 UTC (rev 215340)
@@ -5,17 +5,17 @@
 # Contributor: 4679kun <admin at 4679 dot us>
 
 pkgname=shadowsocks-libev
-pkgver=3.0.2
-_commit=72f6041a7c62d3c115d15ede0af9ec179345a3c9
-pkgrel=2
+pkgver=3.0.3
+pkgrel=1
 pkgdesc='A lightweight secured socks5 proxy for embedded devices and low end boxes'
 arch=('i686' 'x86_64')
 url='https://github.com/shadowsocks/shadowsocks-libev'
 license=('GPL3')
-depends=('libcap' 'mbedtls' 'libsodium' 'libev' 'udns' 'pcre' 'libcorkipset')
+depends=('libcap' 'mbedtls' 'libsodium' 'libev' 'udns' 'pcre' 'libcorkipset' 'libbloom')
 makedepends=('git' 'asciidoc' 'xmlto')
 install=${pkgname}.install
-source=("git+https://github.com/shadowsocks/${pkgname}.git#commit=$_commit"
+source=("git+https://github.com/shadowsocks/$pkgname.git#tag=v$pkgver"
+        shared-bloom.patch
         'shadowsocks-libev at .service'
         'shadowsocks-libev-server at .service'
         'shadowsocks-libev-redir at .service'
@@ -22,14 +22,22 @@
         'shadowsocks-libev-tunnel at .service')
 
 sha512sums=('SKIP'
+            'd980c0f8307f0d4402a72508eb8bd12b88f25485086e4ca108936b6f6229d3319c28f0d981f42569ca63eeca97962ab9cd15bce68dba7638a0a18ab0a935bc66'
             '92186a3baf340e3e3b7e8893b01bbf29356d0111ea7ecc10bb6a31278a834a7c428c501b0bb15fc1e983c6dab74a7094deae2c5972a4b3e6807ece668944d321'
             '4e7d22145af1e2ac65bfa0d8883c3b30a6ac726728265a782519ab3912d6e3034861e19b411b54aa1cdbf999b1758584f6452d9c98afb72b71f3a0b215813317'
             'e233c0f67843509f542c25d6fc39fe6992571b7cd0ae75e3c9573a8cd6f9a72748b5c4d09914a6d9402bfe379db487c628b39c44cc165f71e48e874a56922b82'
             'b8de1cc489a1feb8c0ca59fef8abf6c524343483563462a167cb4a5bed5e9605fe76e4fdc71a248a8a5fc882032737a02747916f79043d50f850645067ed38eb')
 
+prepare() {
+  cd "$srcdir/$pkgname"
+  patch -p1 -i ../shared-bloom.patch
+
+  sed -i 's|AC_CONFIG_FILES(\[libbloom/Makefile libcork/Makefile libipset/Makefile\])||' configure.ac
+}
+
 build() {
   cd "$srcdir/$pkgname"
-  sed -i 's|AC_CONFIG_FILES(\[libcork/Makefile libipset/Makefile\])||' configure.ac
+
   ./autogen.sh
   ./configure --prefix=/usr --enable-shared --enable-system-shared-lib
   make


More information about the arch-commits mailing list