# Description: Network Sniffer # URL: https://www.wireshark.org # Maintainer: Thomas Penteker, tek at serverop dot de # Depends on: c-ares hicolor-icon-theme libgcrypt libpcap qt5 name=wireshark version=3.4.0 release=1 source=(https://www.wireshark.org/download/src/$name-$version.tar.xz) build() { cmake -S$name-$version -Bbuild -GNinja \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build DESTDIR=$PKG cmake --install build # Don't remove these files, they are read by wireshark's about box. #rm -f $PKG/usr/share/$name/{AUTHORS-SHORT,COPYING} rm -r $PKG/usr/share/doc }