summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8b263d75c95729fb0218504f87ce893be5ec1ac7 (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
# Maintainer: Yurii Kolesnykov <root@yurikoles.com>
# Contributor: Christian Hesse <mail@eworm.de>
# Contributor: Judd Vinet <judd@archlinux.org>
#
# Pull requests are welcome here: https://github.com/yurikoles-aur/bridge-utils

pkgname=bridge-utils
pkgver=1.7.1
pkgrel=5
pkgdesc="Utilities for configuring the Linux ethernet bridge"
arch=('x86_64')
url='https://wiki.linuxfoundation.org/networking/bridge'
license=('GPL-2.0-or-later')
depends=('glibc')
validpgpkeys=('9F6FC345B05BE7E766B83C8F80A77F6095CDE47E')	# Stephen Hemminger (Microsoft corporate) <sthemmin@microsoft.com>
source=("https://mirrors.edge.kernel.org/pub/linux/utils/net/${pkgname}/${pkgname}-${pkgver}.tar."{xz,sign})
sha256sums=('a61d8be4f1a1405c60c8ef38d544f0c18c05b33b9b07e5b4b31033536165e60e'
            'SKIP')

prepare() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  aclocal
  autoconf
}

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  ./configure \
    --prefix=/usr \
    --sbindir=/usr/bin \
    --sysconfdir=/etc \
    --with-linux-headers=/usr/include
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  make DESTDIR="${pkgdir}" install
}