summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e381dc22c7834a5635a4969d1610b732c20dabd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Benigno Batista Jr <benignobjunior@gmail.com>
pkgname=babyshark-bin
pkgver=0.3.0
pkgrel=1
pkgdesc='Flows-first PCAP TUI with case files and gorgeous UX'
arch=('x86_64')
url='https://github.com/vignesh07/babyshark'
license=('MIT')
depends=('glibc' 'gcc-libs')
provides=('babyshark')
conflicts=('babyshark')
optdepends=('wireshark-cli: live packet capture via tshark')
source=("${pkgname}-${pkgver}.tar.gz::${url}/releases/download/v${pkgver}/babyshark-v${pkgver}-linux-x64.tar.gz")
sha256sums=('191b97c0efe5db464c31868227a9d68950f10f53a938c701ae7dac951e678cfc')

package() {
    install -Dm755 babyshark "${pkgdir}/usr/bin/babyshark"
    install -Dm644 /dev/stdin "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" <<'EOF'
MIT License - See https://github.com/vignesh07/babyshark/blob/main/LICENSE
EOF
}