void-packages/srcpkgs/bettercap/template

19 lines
577 B
Bash

# Template file for 'bettercap'
pkgname=bettercap
version=2.7
revision=1
build_style=go
hostmakedepends="git pkg-config"
makedepends="libpcap-devel libnetfilter_queue-devel"
short_desc="Network attack and monitoring framework"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="GPL-3"
go_import_path=github.com/bettercap/bettercap
homepage="https://${go_import_path}"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=4ce11f69f3532d482bfc38ffab12d69545b6d7826bac5222d6bd6ff8ee20a26b
case "$XBPS_TARGET_MACHINE" in
x86_64-musl) broken="fails to build" ;;
esac