OSDN Git Service

upg
[joborun/jobcore.git] / iputils / PKGBUILD
1 #!/usr/bin/bash
2 # JOBoRun               : Jwm OpenBox Obarun RUNit
3 # Maintainer    : Joe Bo Run <joborun@disroot.org>
4 # PkgSource             : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
5 # Website               : https://pozol.eu
6 #-----------------------------------------| DESCRIPTION |---------------------------------------
7
8 pkgname=iputils
9 # Commit date + git rev-parse --short origin/master
10 _rev=23c3782a
11 pkgver=20211215
12 pkgrel=01
13 pkgdesc="Network monitoring tools, including ping w/o systemd"
14 arch=('x86_64')
15 url="http://www.skbuff.net/iputils/"
16 depends=('libcap' 'libidn2')
17 makedepends=('perl-sgmls' 'git' 'docbook-xsl' 'meson' 'iproute')
18 conflicts=('netkit-base' 'arping')
19 replaces=('netkit-base')
20 source=("git+https://github.com/iputils/iputils.git#tag=${pkgver}?signed")
21
22 build() {
23   mkdir -p build
24   cd build
25
26   arch-meson ../$pkgname -DBUILD_RARPD=true 
27   ninja
28 }
29
30 package() {
31   cd build
32
33   DESTDIR="$pkgdir" ninja install
34 }
35
36 #---- license gpg-key sha256sums ----
37
38 license=('GPL')
39
40 validpgpkeys=('2016FEA4858B1C36B32E833AC0DEC2EE72F33A5F') # Petr Vorel
41
42 sha256sums=(SKIP)