git » iproute2.git » main » tree

[main] / PKGBUILD

pkgname=iproute2
pkgver=6.7.0
pkgrel=1
arch=('armv7h' 'aarch64')
license=('unknown')
source=("$pkgname-$pkgver.tar.xz")

prepare() {
	cd "$pkgname-$pkgver"
	sed -i /ARPD/d Makefile
	rm -fv man/man8/arpd.8
}

build() {
	cd "$pkgname-$pkgver"
	make NETNS_RUN_DIR=/run/netns
}

package() {
	cd "$pkgname-$pkgver"
	make DESTDIR="$pkgdir/" SBINDIR=/usr/sbin install
}
sha256sums=('ff942dd9828d7d1f867f61fe72ce433078c31e5d8e4a78e20f02cb5892e8841d')