jobcore/iputils/PKGBUILD

48 lines
1.2 KiB
Bash

#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=iputils
# Commit date + git rev-parse --short origin/master
_rev=23c3782a
pkgver=20221126
pkgrel=02
pkgdesc="Network monitoring tools, including ping w/o systemd"
#url="http://www.skbuff.net/iputils/"
url="https://github.com/iputils/iputils"
depends=('libcap' 'libidn2')
makedepends=('perl-sgmls' 'git' 'docbook-xsl' 'meson' 'iproute')
conflicts=('netkit-base' 'arping')
replaces=('netkit-base')
#options=(debug) ### uncomment for the debug pkg
source=("git+https://github.com/iputils/iputils.git#tag=${pkgver}?signed")
build() {
mkdir -p build
cd build
arch-meson ../$pkgname
ninja
}
package() {
cd build
DESTDIR="$pkgdir" ninja install
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=('GPL')
validpgpkeys=('2016FEA4858B1C36B32E833AC0DEC2EE72F33A5F') # Petr Vorel
sha256sums=(SKIP)
## 8394fedbb0edc5f1b788f3f0e7fbecd4603468f0af40fc508ff03310d01048fe iputils-20221126-02-x86_64.pkg.tar.lz