summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d39dcfd85ac71b01b9bc57816df9c1f4bcaf3bbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Maintainer:  Vincent Grande <shoober420@gmail.com>
# Contributor: Chocobo1 <chocobo1 AT archlinux DOT net>
# Contributor: St├ęphane Gaudreault <stephane@archlinux.org>
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: Aaron Griffin <aaron@archlinux.org>

pkgname=iputils-minimal-git
pkgver=20200821
pkgrel=1
pkgdesc="Network monitoring tools, including ping"
arch=('x86_64')
license=('GPL')
url="http://www.skbuff.net/iputils/"
depends=('libcap' 'libidn2')
makedepends=('git' 'meson')
provides=(iputils)
conflicts=('netkit-base' 'arping' 'netkit-tftpd' 'iputils')
replaces=('netkit-base')
source=("git+https://github.com/iputils/iputils.git")
sha1sums=('SKIP')

pkgver() {
  cd iputils
  git describe --tags | sed 's/-/+/g'
}

build() {
  cd iputils

  arch-meson iputils -DBUILD_RARPD=false -DBUILD_TFTPD=false -DBUILD_ARPING=false -DBUILD_PING=false -DBUILD_RDISC=false -DENABLE_RDISC_SERVER=false -DBUILD_TRACEPATH=false -DBUILD_TRACEROUTE6=false -DBUILD_NINFOD=false -DNINFOD_MESSAGES=false -DBUILD_MANS=false -DBUILD_HTML_MANS=false
  ninja $NINJAFLAGS -C iputils
}

package() {
  cd iputils

  DESTDIR="$pkgdir" ninja $NINJAFLAGS install -C iputils
}