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

Levente Polyak anthraxx at archlinux.org
Mon Apr 26 21:47:20 UTC 2021


    Date: Monday, April 26, 2021 @ 21:47:19
  Author: anthraxx
Revision: 924591

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-04-26 21:47:13 UTC (rev 924590)
+++ PKGBUILD	2021-04-26 21:47:19 UTC (rev 924591)
@@ -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.30.2
-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=(https://github.com/bettercap/bettercap/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha512sums=('1e605e703dda7a74aae88581b0686f8f07d8d312ccb143f3cf725338b555797f8956ea2c0e1fadca309ff09a4c6af7e656f7a95dd73df780ec4cc75f388bd1d7')
-b2sums=('264d6df36289328bed907c76f8ca2655263b434b482e8ef308a8fa3c79b768038f9786529767ab8c30dd5ad318a1b5384eb5432639c0c16a09c87a2b3c2a7cde')
-
-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 924590, bettercap/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-04-26 21:47:19 UTC (rev 924591)
@@ -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.31.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=('472c6a32f328c352e852f341053dcf02e0d2a14b0c4b4261aa212392848c049dd6980efff36b7ba677a09fccaf2780a6decc2bb661ac9eb41abedfcaf7694c2f')
+b2sums=('734d1a5fd629fbc00acaff67038ee22cdc8bb8213007ea3b9c44627075274d7706045e4b9eb594e445c84fd8e1296f764ac22bd51cf30127833ac6458393c248')
+
+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