blob: 348c1b228fb1f8f13323a36ca2adfc33335e90c3 (
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
39
40
41
42
|
#!/bin/mkpkg
# description: Network monitoring tools including ping
# url: https://github.com/iputils/iputils
name=iputils
version=20250605
release=1
depends=(libcap2)
capabilities=(
/usr/bin/ping:cap_net_raw+ep
/usr/bin/arping:cap_net_raw+ep
)
source=(https://github.com/iputils/iputils/releases/download/$version/$name-$version.tar.xz)
sha256sums=(
"6f213700dbf96b5cc4499ca70cb15ecd69c09f405b06785bb4a1a10b572b6276"
)
build() {
cd $name-$version
meson setup build \
--prefix=/usr \
--buildtype=release \
-DUSE_CAP=true \
-DUSE_IDN=false \
-DUSE_GETTEXT=false \
-DBUILD_MANS=true \
-DBUILD_HTML_MANS=false \
-DBUILD_ARPING=true \
-DBUILD_CLOCKDIFF=false \
-DBUILD_PING=true \
-DBUILD_TRACEPATH=true
samu -C build
DESTDIR=$PKG samu -C build install
}
signify() {
untrusted comment: public key
RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
}
# vim: filetype=sh
|