blob: 07742e3818eb162ea690d4bb656bcfd44d629146 (
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
|
# $Id: PKGBUILD 187019 2013-06-03 11:14:55Z allan $
# Maintainer:
# Contributor: Judd Vinet <judd@archlinux.org>
pkgname=bridge-utils
pkgver=1.5
pkgrel=2
pkgdesc="Utilities for configuring the Linux ethernet bridge"
arch=('i686' 'x86_64')
url="http://www.linuxfoundation.org/collaborate/workgroups/networking/bridge"
license=('GPL')
depends=('glibc')
source=(http://downloads.sourceforge.net/bridge/bridge-utils-$pkgver.tar.gz
bridge-utils-1.5-linux_3.8.x.patch)
prepare () {
# fix compiling with newer kernel headers
cd "${srcdir}/${pkgname}-${pkgver}"
patch -Np1 -i ../bridge-utils-1.5-linux_3.8.x.patch
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
aclocal
autoconf
./configure --prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}
md5sums=('ec7b381160b340648dede58c31bb2238'
'fba700dcb2a3225d72b3bae64c7f49ca')
|