[arch-commits] Commit in simple-obfs/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon May 25 16:33:02 UTC 2020
Date: Monday, May 25, 2020 @ 16:33:02
Author: felixonmars
Revision: 634680
upgpkg: simple-obfs 0.0.5-3: Buildinfo Format 1 rebuild
Modified:
simple-obfs/trunk/PKGBUILD
----------+
PKGBUILD | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-05-25 16:32:24 UTC (rev 634679)
+++ PKGBUILD 2020-05-25 16:33:02 UTC (rev 634680)
@@ -5,7 +5,7 @@
pkgname=simple-obfs
pkgver=0.0.5
-pkgrel=2
+pkgrel=3
pkgdesc='A simple obfusacting tool designed as plugin server of shadowsocks'
arch=('x86_64')
url='https://github.com/shadowsocks/simple-obfs'
@@ -12,12 +12,17 @@
license=('GPL')
depends=('libev' 'libcork')
makedepends=('asciidoc' 'xmlto')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/shadowsocks/simple-obfs/archive/v$pkgver.tar.gz")
-sha512sums=('aadb812d5a57fea664958b66aae0c5be5e82309758706181ed5f1c76a986c1a6eaa82a6cb8b242052a951dd2d9d178d734f04052be887b5dd8f336808db61bcb')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/shadowsocks/simple-obfs/archive/v$pkgver.tar.gz"
+ $pkgname-gcc-9.patch::https://github.com/shadowsocks/simple-obfs/pull/252.patch)
+sha512sums=('aadb812d5a57fea664958b66aae0c5be5e82309758706181ed5f1c76a986c1a6eaa82a6cb8b242052a951dd2d9d178d734f04052be887b5dd8f336808db61bcb'
+ 'a96f2ec88229ca1d4850fbccc76958945e4cade3c5ae4ec3849c36909220ee66a9c13b8818614426421f0c340c8cae40b8232137a44c35672061103dab8da3c9')
prepare() {
cd simple-obfs-$pkgver
patch -p1 -i debian/patches/0001-Use-libcork-dev-in-system.patch
+ patch -p1 -i ../$pkgname-gcc-9.patch
+
+ sed -i 's/-Werror//' configure.ac src/Makefile.am
}
build() {
More information about the arch-commits
mailing list