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

Felix Yan felixonmars at archlinux.org
Sat Aug 17 01:47:09 UTC 2019


    Date: Saturday, August 17, 2019 @ 01:47:09
  Author: felixonmars
Revision: 499907

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   76 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 38 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-17 01:46:59 UTC (rev 499906)
+++ PKGBUILD	2019-08-17 01:47:09 UTC (rev 499907)
@@ -1,38 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Maintainer: Christian Rebischke <chris.rebischke[at]archlinux[dot]org>
-
-pkgname=bettercap
-pkgver=2.24.1
-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-pie' 'git' 'dep')
-optdepends=('bettercap-caplets: scripts (caplets) and proxy modules')
-options=('!emptydirs')
-source=(https://github.com/bettercap/bettercap/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha512sums=('2ff7af5af6143c3c5e94e5925feca6281d5f561ad910c6ba20dc0e006826f587733fdfddbe84a4da1933c8832cd9b297efd6b825b8dd6e590050a717ca859730')
-
-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() {
-  cd go/src/github.com/bettercap/bettercap
-  export GOPATH="${srcdir}/go"
-  dep ensure
-  make build
-}
-
-package() {
-  cd ${pkgname}-${pkgver}
-  install -Dm 755 bettercap -t "${pkgdir}/usr/bin"
-  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 499906, bettercap/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-17 01:47:09 UTC (rev 499907)
@@ -0,0 +1,38 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Maintainer: Christian Rebischke <chris.rebischke[at]archlinux[dot]org>
+
+pkgname=bettercap
+pkgver=2.24.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-pie' 'git' 'dep')
+optdepends=('bettercap-caplets: scripts (caplets) and proxy modules')
+options=('!emptydirs')
+source=(https://github.com/bettercap/bettercap/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('2ff7af5af6143c3c5e94e5925feca6281d5f561ad910c6ba20dc0e006826f587733fdfddbe84a4da1933c8832cd9b297efd6b825b8dd6e590050a717ca859730')
+
+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() {
+  cd go/src/github.com/bettercap/bettercap
+  export GOPATH="${srcdir}/go"
+  dep ensure
+  make build
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  install -Dm 755 bettercap -t "${pkgdir}/usr/bin"
+  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