opt/wireshark/Pkgfile
2020-05-24 22:54:06 +10:00

23 lines
607 B
Plaintext

# Description: Network Sniffer
# URL: http://www.wireshark.org
# Maintainer: Thomas Penteker, tek at serverop dot de
# Depends on: hicolor-icon-theme libgcrypt libpcap qt5
name=wireshark
version=3.2.4
release=1
source=(https://www.wireshark.org/download/src/$name-$version.tar.xz)
build() {
cmake -S$name-$version -Bbuild -GNinja \
-DCMAKE_INSTALL_PREFIX=/usr
cmake --build build
DESTDIR=$PKG cmake --build build --target install
# 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
}