1 # Maintainer: David Runge <dvzrv@archlinux.org>
2 # Maintainer: Sven-Hendrik Haase <svenstaro@gmail.com>
3 # Contributor: Christian Hesse <mail@eworm.de>
4 # Contributor: Bill Fraser <wfraser@codewise.org>
5 # Contributor: Thomas Bächler <thomas@archlinux.org>
11 pkgdesc="A system-independent interface for user-level packet capture (32-bit)"
13 url="http://www.tcpdump.org/"
26 source=(https://www.tcpdump.org/release/$_name-$pkgver.tar.gz{,.sig})
27 sha512sums=('1f6d6ddd07dae7c557054cb246437ecdaf39d579592a5a6bdf1144eea6cb5a779ac4ca647cfed11ec1b0bb18efc63b845444e497070bacefaaed19a5787ae5e1'
29 b2sums=('05a7eafc1e1817f7844008db89d8fb10cd2525c22f7ee6c9e3d582b14229412f38ccced5e9d80a96dd459ef9eab12eccb5c1dd4978ddc9f66267469212005e4c'
31 validpgpkeys=('1F166A5742ABB9E0249A8D30E089DEF1D9C15D0D') # The Tcpdump Group (Package signing key) <release@tcpdump.org>
39 local configure_options=(
49 export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
52 ./configure "${configure_options[@]}"
58 lib32-dbus libdbus-1.so
63 make DESTDIR="$pkgdir" install
65 # remove files provided by libpcap
66 rm -rf "$pkgdir/usr/"{include,share,bin}
68 install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
69 install -vDm 644 {CHANGES,{CONTRIBUTING,README}.md} -t "$pkgdir/usr/share/doc/$pkgname/"