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

Levente Polyak anthraxx at archlinux.org
Mon Nov 19 22:52:32 UTC 2018


    Date: Monday, November 19, 2018 @ 22:52:31
  Author: anthraxx
Revision: 408978

upgpkg: bettercap 2.11-1

Modified:
  bettercap/trunk/PKGBUILD

----------+
 PKGBUILD |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-19 22:26:01 UTC (rev 408977)
+++ PKGBUILD	2018-11-19 22:52:31 UTC (rev 408978)
@@ -2,7 +2,7 @@
 # Maintainer: Christian Rebischke <chris.rebischke[at]archlinux[dot]org>
 
 pkgname=bettercap
-pkgver=2.10
+pkgver=2.11
 pkgrel=1
 pkgdesc='Swiss army knife for network attacks and monitoring'
 url='https://github.com/bettercap/bettercap'
@@ -12,12 +12,13 @@
 makedepends=('go-pie' 'git' 'dep')
 options=('!emptydirs')
 source=(${pkgname}-${pkgver}.tar.gz::https://github.com/bettercap/bettercap/archive/v${pkgver}.tar.gz)
-sha512sums=('ff431277e6478509ee9424affc924044835942fd3ba7cfb85967b48d91b69829b2a0db5008898794fd3f20e1968ae896048d75bdc70d52cc46dde1df6d3997d2')
+sha512sums=('38d8413996e9b6988e446209c64e2008b05fc55150ba35144f6fe770751f08f169f768942b5179a122da51eb09978ca341edba326cbfa36c34b46cadd3adef9c')
 
 prepare(){
   export GOPATH="${srcdir}/go"
   mkdir -p go/src/github.com/bettercap
   ln -rTsf ${pkgname}-${pkgver} go/src/github.com/bettercap/bettercap
+  sed -E "s|(go build)|\\1 -ldflags -linkmode external -extldflags \"${LDFLAGS}\"|" -i ${pkgname}-${pkgver}/Makefile
 }
 
 build() {


More information about the arch-commits mailing list