1 # Maintainer: David Runge <dvzrv@archlinux.org>
2 # Contributor: Gaetan Bisson <bisson@archlinux.org>
3 # Contributor: Giovanni Scafora <giovanni@archlinux.org>
4 # Contributor: dorphell <dorphell@archlinux.org>
9 pkgdesc='Powerful command-line packet analyzer'
10 url="https://www.tcpdump.org/"
20 source=(https://www.tcpdump.org/release/$pkgname-$pkgver.tar.gz{,.sig})
21 sha512sums=('cb51e19574707d07c0de90dd4c301955897f2c9f2a69beb7162c08f59189f55625346d1602c8d66ab2b4c626ea4b0df1f08ed8734d2d7f536d0a7840c2d6d8df'
23 b2sums=('f100e10774574ef04a770bc30d4e2d06fd0f1f16a7b2c88848be6e8290cc4838666ff378d9f78fdc418f4ffab9716a11214edc3588c292cb5ff39636cd7cfd2d'
25 validpgpkeys=('1F166A5742ABB9E0249A8D30E089DEF1D9C15D0D') # The Tcpdump Group (Package signing key) <release@tcpdump.org>
29 -DCMAKE_INSTALL_PREFIX=/usr
30 -DCMAKE_BUILD_TYPE=None
36 cmake "${cmake_options[@]}"
37 cmake --build build --verbose
41 make VERBOSE=1 check -C build
47 libcap-ng libcap-ng.so
51 DESTDIR="$pkgdir" cmake --install build
52 install -vDm 644 $pkgname-$pkgver/LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"