blob: 75993cfa71ccac5591a8db85bf2bfe5baf8d2e71 (
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
|
# $Id: PKGBUILD 112055 2011-03-03 12:52:38Z stephane $
# Maintainer:
# Contributor: Judd Vinet <judd@archlinux.org>
pkgname=bridge-utils
pkgver=1.4
pkgrel=4
pkgdesc="Utilities for configuring the Linux ethernet bridge"
arch=('i686' 'x86_64')
url="http://www.linuxfoundation.org/en/Net:Bridge"
license=('GPL2')
backup=('etc/conf.d/bridges')
depends=('glibc')
source=(http://downloads.sourceforge.net/bridge/bridge-utils-$pkgver.tar.gz
bridges.conf.d)
md5sums=('0182fcac3a2b307113bbec34e5f1c673'
'f5d691282653580dd5fd4a1092ef365b')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
aclocal
autoconf
./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
# install config file
install -Dm644 ../bridges.conf.d "${pkgdir}/etc/conf.d/bridges"
}
|