2022-03-20 13:19:37 +01:00
|
|
|
# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
|
|
|
|
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
|
|
|
|
# Contributor: Aaron Griffin <aaron@archlinux.org>
|
|
|
|
|
|
|
|
pkgname=iputils
|
|
|
|
# Commit date + git rev-parse --short origin/master
|
2023-12-23 20:53:53 +01:00
|
|
|
_rev=84cdf26
|
2024-01-18 20:01:47 +01:00
|
|
|
pkgver=20240117
|
|
|
|
pkgrel=1
|
2022-03-20 13:19:37 +01:00
|
|
|
pkgdesc="Network monitoring tools, including ping"
|
|
|
|
arch=('x86_64')
|
2023-12-30 22:27:16 +01:00
|
|
|
license=('BSD-3-Clause' 'GPL-2.0-or-later')
|
2023-05-29 01:08:25 +02:00
|
|
|
url="https://github.com/iputils/iputils"
|
2022-03-20 13:19:37 +01:00
|
|
|
depends=('libcap' 'libidn2')
|
|
|
|
makedepends=('perl-sgmls' 'git' 'docbook-xsl' 'meson' 'systemd' 'iproute')
|
|
|
|
conflicts=('netkit-base' 'arping')
|
|
|
|
replaces=('netkit-base')
|
|
|
|
source=("git+https://github.com/iputils/iputils.git#tag=${pkgver}?signed")
|
|
|
|
validpgpkeys=('2016FEA4858B1C36B32E833AC0DEC2EE72F33A5F') # Petr Vorel
|
2022-11-27 22:24:32 +01:00
|
|
|
sha256sums=('SKIP')
|
2022-03-20 13:19:37 +01:00
|
|
|
|
|
|
|
build() {
|
|
|
|
mkdir -p build
|
|
|
|
cd build
|
|
|
|
|
2022-11-27 22:24:32 +01:00
|
|
|
arch-meson ../$pkgname
|
2022-03-20 13:19:37 +01:00
|
|
|
ninja
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd build
|
|
|
|
|
|
|
|
DESTDIR="$pkgdir" ninja install
|
2023-12-30 22:27:16 +01:00
|
|
|
install -vDm 644 "../$pkgname/Documentation/LICENSE.BSD3" -t "$pkgdir/usr/share/licenses/$pkgname"
|
2022-03-20 13:19:37 +01:00
|
|
|
}
|