[arch-commits] Commit in bettercap/repos/community-x86_64 (PKGBUILD PKGBUILD)

Felix Yan felixonmars at gemini.archlinux.org
Thu Aug 26 10:48:08 UTC 2021


    Date: Thursday, August 26, 2021 @ 10:48:08
  Author: felixonmars
Revision: 1005912

archrelease: copy trunk to community-x86_64

Added:
  bettercap/repos/community-x86_64/PKGBUILD
    (from rev 1005911, bettercap/trunk/PKGBUILD)
Deleted:
  bettercap/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   84 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 42 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-08-26 10:47:58 UTC (rev 1005911)
+++ PKGBUILD	2021-08-26 10:48:08 UTC (rev 1005912)
@@ -1,42 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Maintainer: Christian Rebischke <chris.rebischke[at]archlinux[dot]org>
-
-pkgname=bettercap
-pkgver=2.31.1
-pkgrel=1
-pkgdesc='Swiss army knife for network attacks and monitoring'
-url='https://github.com/bettercap/bettercap'
-arch=('x86_64')
-license=('GPL3')
-depends=('glibc' 'libpcap' 'libpcap.so' 'libnetfilter_queue' 'iproute2' 'libnfnetlink' 'libusb' 'libusb-1.0.so')
-makedepends=('go' 'git')
-optdepends=('bettercap-caplets: scripts (caplets) and proxy modules')
-options=('!emptydirs')
-source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('e053a7406ffee1958775b81c45f9278a30d6a9cccc1d578071c94b963e1fd37874a454739da62deaa218e6aa7524b55cbae793f09f171c97460713ff2cfc751f')
-b2sums=('295a7d843bb95d6183cf8e918906d870b494d673859ffa2ac43c81e1d712d1cc09975e2c619dff936fa1ca1294732f02019c49977a1d8af0c47e1f07148f0ba6')
-
-prepare() {
-  cd ${pkgname}-${pkgver}
-  find . -type f -exec sed 's|/usr/local|/usr|g' -i {} +
-}
-
-build() {
-  cd ${pkgname}-${pkgver}
-  export GO11MODULE=on
-  export CGO_LDFLAGS="${LDFLAGS}"
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-  export GOFLAGS="-buildmode=pie -ldflags=-linkmode=external -trimpath -mod=readonly -modcacherw"
-  go build
-}
-
-package() {
-  cd ${pkgname}-${pkgver}
-  install -Dm 755 bettercap -t "${pkgdir}/usr/bin"
-  install -Dm 644 bettercap.service -t "${pkgdir}/usr/lib/systemd/system"
-  install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
-}
-
-# vim: ts=2 sw=2 et:

Copied: bettercap/repos/community-x86_64/PKGBUILD (from rev 1005911, bettercap/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-08-26 10:48:08 UTC (rev 1005912)
@@ -0,0 +1,42 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Maintainer: Christian Rebischke <chris.rebischke[at]archlinux[dot]org>
+
+pkgname=bettercap
+pkgver=2.32.0
+pkgrel=1
+pkgdesc='Swiss army knife for network attacks and monitoring'
+url='https://github.com/bettercap/bettercap'
+arch=('x86_64')
+license=('GPL3')
+depends=('glibc' 'libpcap' 'libpcap.so' 'libnetfilter_queue' 'iproute2' 'libnfnetlink' 'libusb' 'libusb-1.0.so')
+makedepends=('go' 'git')
+optdepends=('bettercap-caplets: scripts (caplets) and proxy modules')
+options=('!emptydirs')
+source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('0728d2dab0c0a07fdfd91490f450be46b004ae994024bfdb6ef1b7ecac8044c4c70da9fdf986b9b31033c9698fb63e4f619604095727fb26d9ba2abc233b27d1')
+b2sums=('f322c0a49cb13beb067ee4f993795b715e505e6db34472bcf9cd687047a3b7bbe0b6dda8e57b082e7bdb09810680a3a99ccc4a34fa118c33e575c7572095c4ab')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  find . -type f -exec sed 's|/usr/local|/usr|g' -i {} +
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  export GO11MODULE=on
+  export CGO_LDFLAGS="${LDFLAGS}"
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+  export GOFLAGS="-buildmode=pie -ldflags=-linkmode=external -trimpath -mod=readonly -modcacherw"
+  go build
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  install -Dm 755 bettercap -t "${pkgdir}/usr/bin"
+  install -Dm 644 bettercap.service -t "${pkgdir}/usr/lib/systemd/system"
+  install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list