[arch-commits] Commit in simple-obfs/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu Mar 9 03:48:10 UTC 2017


    Date: Thursday, March 9, 2017 @ 03:48:09
  Author: felixonmars
Revision: 215336

upgpkg: simple-obfs 0.0.3-1

Modified:
  simple-obfs/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-03-09 03:41:50 UTC (rev 215335)
+++ PKGBUILD	2017-03-09 03:48:09 UTC (rev 215336)
@@ -5,19 +5,25 @@
 # Contributor: 4679kun <admin at 4679 dot us>
 
 pkgname=simple-obfs
-pkgver=0.0.2
+pkgver=0.0.3
 pkgrel=1
 pkgdesc='A simple obfusacting tool designed as plugin server of shadowsocks'
 arch=('i686' 'x86_64')
 url='https://github.com/shadowsocks/simple-obfs'
 license=('GPL')
-depends=('libsodium' 'udns' 'libev')
+depends=('libsodium' 'udns' 'libev' 'libcork')
 makedepends=('git' 'asciidoc' 'xmlto')
 source=("git+https://github.com/shadowsocks/simple-obfs.git#tag=v$pkgver")
 sha512sums=('SKIP')
 
+prepare() {
+  cd simple-obfs
+  patch -p1 -i debian/patches/0001-Use-libcork-dev-in-system.patch
+}
+
 build() {
   cd simple-obfs
+  ./autogen.sh
   ./configure --prefix=/usr --enable-system-shared-lib
   make
 }



More information about the arch-commits mailing list