jobcore/iputils/PKGBUILD

49 lines
1.3 KiB
Bash
Raw Permalink Normal View History

2022-03-20 13:19:37 +01:00
#!/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
2023-12-23 20:53:53 +01:00
_rev=84cdf26
2024-01-18 20:01:47 +01:00
pkgver=20240117
pkgrel=01
2022-03-20 13:19:37 +01:00
pkgdesc="Network monitoring tools, including ping w/o systemd"
#url="http://www.skbuff.net/iputils/"
url="https://github.com/iputils/iputils"
2022-03-20 13:19:37 +01:00
depends=('libcap' 'libidn2')
makedepends=('perl-sgmls' 'git' 'docbook-xsl' 'meson' 'iproute')
conflicts=('netkit-base' 'arping')
replaces=('netkit-base')
2022-11-27 22:24:32 +01:00
#options=(debug) ### uncomment for the debug pkg
2022-03-20 13:19:37 +01:00
source=("git+https://github.com/iputils/iputils.git#tag=${pkgver}?signed")
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
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
2022-03-20 13:19:37 +01:00
2023-12-30 22:27:16 +01:00
license=('BSD-3-Clause' 'GPL-2.0-or-later')
2022-03-20 13:19:37 +01:00
validpgpkeys=('2016FEA4858B1C36B32E833AC0DEC2EE72F33A5F') # Petr Vorel
sha256sums=(SKIP)
2022-11-27 22:24:32 +01:00
2024-01-18 20:01:47 +01:00
## b865057d80cdf9d76f741569a6e62c968b2e2d7fac1f677f8f9fb08dc9df2750 iputils-20240117-01-x86_64.pkg.tar.lz
2023-12-23 20:53:53 +01:00