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

Levente Polyak anthraxx at archlinux.org
Wed Apr 3 20:06:55 UTC 2019


    Date: Wednesday, April 3, 2019 @ 20:06:54
  Author: anthraxx
Revision: 448369

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-03 20:06:48 UTC (rev 448368)
+++ PKGBUILD	2019-04-03 20:06:54 UTC (rev 448369)
@@ -1,37 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Maintainer: Christian Rebischke <chris.rebischke[at]archlinux[dot]org>
-
-pkgname=bettercap
-pkgver=2.22
-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')
-options=('!emptydirs')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/bettercap/bettercap/archive/v${pkgver}.tar.gz)
-sha512sums=('86e520a8121afa4175740bbab859f51ea420c14db3ae9a3e690cbec7c5a0b715a4e42a6d3907a323c378e435e4f7a4fc259801d1c4fdae60cb2333bbd4ba1357')
-
-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 448368, bettercap/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-04-03 20:06:54 UTC (rev 448369)
@@ -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.22
+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=('86e520a8121afa4175740bbab859f51ea420c14db3ae9a3e690cbec7c5a0b715a4e42a6d3907a323c378e435e4f7a4fc259801d1c4fdae60cb2333bbd4ba1357')
+
+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