bettercap: init at 2.30.2
This commit is contained in:
parent
8fd900e921
commit
b8d91071c6
29
sakamoto/bettercap/APKBUILD
Normal file
29
sakamoto/bettercap/APKBUILD
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
|
||||||
|
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
|
||||||
|
pkgname=bettercap
|
||||||
|
pkgver=2.30.2
|
||||||
|
pkgrel=0
|
||||||
|
pkgdesc="The Swiss Army knife for 802.11, BLE and Ethernet networks reconnaissance and MITM attacks"
|
||||||
|
url="https://www.bettercap.org"
|
||||||
|
arch="all"
|
||||||
|
license="GPL-3.0"
|
||||||
|
depends="libusb libnetfilter_queue libpcap"
|
||||||
|
makedepends="libusb-dev libnetfilter_queue-dev libpcap-dev linux-headers go"
|
||||||
|
install=""
|
||||||
|
subpackages=""
|
||||||
|
source="$pkgname-$pkgver.tar.gz::https://github.com/bettercap/bettercap/archive/refs/tags/v${pkgver}.tar.gz"
|
||||||
|
builddir="$srcdir/tmp"
|
||||||
|
options="!check"
|
||||||
|
|
||||||
|
# https://github.com/bettercap/bettercap/archive/refs/tags/v2.30.2.tar.gz
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "$srcdir/$pkgname-$pkgver/"
|
||||||
|
go build -o "$builddir/bettercap" .
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
install -Dm755 "$builddir/bettercap" "$pkgdir/usr/bin/bettercap"
|
||||||
|
}
|
||||||
|
|
||||||
|
sha512sums="1e605e703dda7a74aae88581b0686f8f07d8d312ccb143f3cf725338b555797f8956ea2c0e1fadca309ff09a4c6af7e656f7a95dd73df780ec4cc75f388bd1d7 bettercap-2.30.2.tar.gz"
|
Loading…
Reference in a new issue