🔒 Repository is read-only – file editing is disabled.

recipes/core/iproute2/PAGBUILD.yaml main

28 linii Raw ← Powrót
12345678910111213141516171819202122232425262728
pkgname: iproute2
pkgver: '7.2.0'
pkgrel: 1
pkgdesc: Programs for basic and advanced network routing.
url: 'https://www.kernel.org/pub/linux/utils/net/iproute2/'
arch: x86_64
depends: []
makedepends:
- libcap
- bison
- flex
source:
- 'https://www.kernel.org/pub/linux/utils/net/iproute2/iproute2-${pkgver}.tar.xz'
sha256sums:
- 4c2fa124c2cf0afd7ca34d1eeacba6ba048a56f6374e2aab93dafbdbd4eea9c0
build: |
  cd iproute2-${pkgver}
  sed -i '/TARGETS += arpd/d' misc/Makefile
  rm -fv man/man8/arpd.8

  make NETNS_RUN_DIR=/run/netns DESTDIR=${PKGDIR}
  make SBINDIR=/usr/bin DESTDIR=${PKGDIR} \
    DOCDIR=/usr/share/doc/iproute2 install

  install -vDm644 COPYING README* -t \
    ${PKGDIR}/usr/share/doc/iproute2
package: |
  true