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

Felix Yan felixonmars at archlinux.org
Mon Feb 13 15:43:47 UTC 2017


    Date: Monday, February 13, 2017 @ 15:43:47
  Author: felixonmars
Revision: 212137

upgpkg: shadowsocks-libev 3.0.2-1

Modified:
  shadowsocks-libev/trunk/PKGBUILD

----------+
 PKGBUILD |   19 +++++--------------
 1 file changed, 5 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-02-13 15:43:06 UTC (rev 212136)
+++ PKGBUILD	2017-02-13 15:43:47 UTC (rev 212137)
@@ -5,18 +5,17 @@
 # Contributor: 4679kun <admin at 4679 dot us>
 
 pkgname=shadowsocks-libev
-pkgver=3.0.0
+pkgver=3.0.2
+_commit=72f6041a7c62d3c115d15ede0af9ec179345a3c9
 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')
+depends=('libcap' 'mbedtls' 'libsodium' 'libev' 'udns' 'pcre' 'libcorkipset')
 makedepends=('git' 'asciidoc' 'xmlto')
 install=${pkgname}.install
-source=("git+https://github.com/shadowsocks/${pkgname}.git#tag=v$pkgver"
-        "git+https://github.com/shadowsocks/libcork.git"
-        "git+https://github.com/shadowsocks/ipset.git"
+source=("git+https://github.com/shadowsocks/${pkgname}.git#commit=$_commit"
         'shadowsocks-libev at .service'
         'shadowsocks-libev-server at .service'
         'shadowsocks-libev-redir at .service'
@@ -23,22 +22,14 @@
         'shadowsocks-libev-tunnel at .service')
 
 sha512sums=('SKIP'
-            'SKIP'
-            'SKIP'
             '92186a3baf340e3e3b7e8893b01bbf29356d0111ea7ecc10bb6a31278a834a7c428c501b0bb15fc1e983c6dab74a7094deae2c5972a4b3e6807ece668944d321'
             '4e7d22145af1e2ac65bfa0d8883c3b30a6ac726728265a782519ab3912d6e3034861e19b411b54aa1cdbf999b1758584f6452d9c98afb72b71f3a0b215813317'
             'e233c0f67843509f542c25d6fc39fe6992571b7cd0ae75e3c9573a8cd6f9a72748b5c4d09914a6d9402bfe379db487c628b39c44cc165f71e48e874a56922b82'
             'b8de1cc489a1feb8c0ca59fef8abf6c524343483563462a167cb4a5bed5e9605fe76e4fdc71a248a8a5fc882032737a02747916f79043d50f850645067ed38eb')
 
-prepare() {
-  cd "$srcdir"/$pkgname
-  git config submodule.libcork.url "$srcdir"/libcork
-  git config submodule.ipset.url "$srcdir"/libipset
-  git submodule update --init
-}
-
 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