diff --git a/srcpkgs/sniffnet/template b/srcpkgs/sniffnet/template new file mode 100644 index 00000000000000..41194d78b7ad29 --- /dev/null +++ b/srcpkgs/sniffnet/template @@ -0,0 +1,22 @@ +# Template file for 'sniffnet' +pkgname=sniffnet +version=1.5.0 +revision=1 +build_style=cargo +hostmakedepends="pkg-config" +makedepends="libpcap-devel alsa-lib-devel fontconfig-devel gtk+3-devel" +depends="fontconfig zenity freetype" +short_desc="Application to comfortably monitor your network traffic" +maintainer="nerdyslacker " +license="MIT OR Apache-2.0" +homepage="https://github.com/GyulyVGC/sniffnet" +changelog="https://raw.githubusercontent.com/GyulyVGC/sniffnet/refs/heads/main/CHANGELOG.md" +distfiles="https://github.com/GyulyVGC/sniffnet/archive/refs/tags/v${version}.tar.gz" +checksum=c2000ee833c8329d5aaf2b4c1f950d01b48b2a93bd094f949dbed5d6ac4f4d8c + +post_install() { + vinstall README.md 644 usr/share/doc/sniffnet + vinstall resources/logos/raw/icon.png 644 usr/share/pixmaps sniffnet.png + vinstall resources/packaging/linux/sniffnet.desktop 644 usr/share/applications + vlicense LICENSE-MIT +}