blob: c0caf54249de5214d5746cedaff01a634b72b604 (
plain)
1 # Description: Network Sniffer
2 # URL: http://www.wireshark.org
3 # Maintainer: Thomas Penteker, tek at serverop dot de
4 # Depends on: hicolor-icon-theme libgcrypt libpcap qt5
5
6 name=wireshark
7 version=3.2.4
8 release=1
9 source=(https://www.wireshark.org/download/src/$name-$version.tar.xz)
10
11 build() {
12 cmake -S$name-$version -Bbuild -GNinja \
13 -DCMAKE_INSTALL_PREFIX=/usr
14
15 cmake --build build
16 DESTDIR=$PKG cmake --build build --target install
17
18 # Don't remove these files, they are read by wireshark's about box.
19 #rm -f $PKG/usr/share/$name/{AUTHORS-SHORT,COPYING}
20
21 rm -r $PKG/usr/share/doc
22 }
|