[arch-commits] Commit in simple-obfs/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Oct 6 13:49:27 UTC 2017
Date: Friday, October 6, 2017 @ 13:49:26
Author: felixonmars
Revision: 261925
upgpkg: simple-obfs 0.0.3-2
rebuild with libsodium 1.0.15
Modified:
simple-obfs/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-10-06 13:48:58 UTC (rev 261924)
+++ PKGBUILD 2017-10-06 13:49:26 UTC (rev 261925)
@@ -6,23 +6,23 @@
pkgname=simple-obfs
pkgver=0.0.3
-pkgrel=1
+pkgrel=2
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' 'libcork')
-makedepends=('git' 'asciidoc' 'xmlto')
-source=("git+https://github.com/shadowsocks/simple-obfs.git#tag=v$pkgver")
-sha512sums=('SKIP')
+makedepends=('asciidoc' 'xmlto')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/shadowsocks/simple-obfs/archive/v$pkgver.tar.gz")
+sha512sums=('1e2f1c5a32508426a58d4894a3623d10ff6add875137444cea9bda61d972f3d36bd8b477358f31e719a9950fc745cebff2c632b4fca117cc439a69a747b85837')
prepare() {
- cd simple-obfs
+ cd simple-obfs-$pkgver
patch -p1 -i debian/patches/0001-Use-libcork-dev-in-system.patch
}
build() {
- cd simple-obfs
+ cd simple-obfs-$pkgver
./autogen.sh
./configure --prefix=/usr --enable-system-shared-lib
make
@@ -29,6 +29,6 @@
}
package() {
- cd simple-obfs
+ cd simple-obfs-$pkgver
make DESTDIR="$pkgdir/" install
}
More information about the arch-commits
mailing list