[arch-commits] Commit in bettercap/repos/community-x86_64 (PKGBUILD PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Thu Jul 16 19:50:51 UTC 2020
Date: Thursday, July 16, 2020 @ 19:50:51
Author: anthraxx
Revision: 664169
archrelease: copy trunk to community-x86_64
Added:
bettercap/repos/community-x86_64/PKGBUILD
(from rev 664168, bettercap/trunk/PKGBUILD)
Deleted:
bettercap/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 84 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 42 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-16 19:50:47 UTC (rev 664168)
+++ PKGBUILD 2020-07-16 19:50:51 UTC (rev 664169)
@@ -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.27.1
-pkgrel=2
-pkgdesc='Swiss army knife for network attacks and monitoring'
-url='https://github.com/bettercap/bettercap'
-arch=('x86_64')
-license=('GPL3')
-depends=('libpcap' 'libnetfilter_queue' 'iproute2' 'glibc' 'libnfnetlink')
-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=('157386a9410056667e391826fe04012f934452dd66a9bc3a6d4eee1654827923a7ad987cff07477b30a56476fe92dc1eadf7db7c4fd6bbf2dc2bd62e825e1835')
-b2sums=('f10074523407e23a6f504a7bba8c7aa63a81890c8a0dc1cfc0d9ea336a7606e7b73e301c3167149d8bbf9a01addc59e5ab047300cc7594eb4b7e929ff2f0cd8c')
-
-prepare() {
- cd ${pkgname}-${pkgver}
- find . -type f -exec sed -i'' 's|/usr/local|/usr|g' {} +
-}
-
-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 -trimpath"
- 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 664168, bettercap/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-07-16 19:50:51 UTC (rev 664169)
@@ -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.28
+pkgrel=1
+pkgdesc='Swiss army knife for network attacks and monitoring'
+url='https://github.com/bettercap/bettercap'
+arch=('x86_64')
+license=('GPL3')
+depends=('libpcap' 'libnetfilter_queue' 'iproute2' 'glibc' 'libnfnetlink')
+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=('914b5171e5bea60c008b73e1de528c5d631da459f9670c7dc4eca068e28ee22d0a9b8e9a8b6655aa8ffec795fa5960c7d4335231841839a1abf8583d855c6753')
+b2sums=('b46f4ec60ce1a65a6e7aaa9b05fd1c6280393c9ca4b4578b45ea880005bc7b5d9cd8e1aab7e908067d95aee8851bdaa5e2b5e0e27ccea7b6556035e2424b58a6')
+
+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 -trimpath"
+ 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