1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
3 # Contributor: Kritoke <kritoke@nospam.gmail.com>
8 pkgdesc="Graphical interface for various networking tools"
9 url="https://gitlab.gnome.org/GNOME/gnome-nettool"
28 'net-tools: Network statistics'
31 _commit=5748c0fa632c9caad9e46377ca1aa330dec4b757 # tags/gnome-nettool-42-0^0
33 "git+https://gitlab.gnome.org/GNOME/gnome-nettool.git#commit=$_commit"
37 '1da17fa0249252842a4cc4c68d00f67b5f085642ae10e6db68708df3cf1fa4b88c9039b2deff2e70ffadf8474da85a33b50bf1a1b639bf12dda05e696f239e72')
41 git describe --tags | sed 's/^gnome-nettool-//;s/-/./;s/[^-]*-g/r&/;s/-/+/g'
47 # Fix build with recent Meson
48 git apply -3 ../fix-build.diff
52 arch-meson $pkgname build
53 meson compile -C build
57 meson test -C build --print-errorlogs
61 meson install -C build --destdir "$pkgdir"
64 # vim set:sw=2 sts=-1 et: