summaryrefslogtreecommitdiff
path: root/core/bridge-utils/PKGBUILD
blob: fb452354ea60085d1311cbe6b029ebb1a689e701 (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 140510 2011-10-16 05:39:52Z eric $
# Maintainer:
# Contributor: Judd Vinet <judd@archlinux.org>

pkgname=bridge-utils
pkgver=1.5
pkgrel=1
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')
backup=('etc/conf.d/bridges')
source=(http://downloads.sourceforge.net/bridge/bridge-utils-$pkgver.tar.gz
        bridges.conf.d)
md5sums=('ec7b381160b340648dede58c31bb2238'
         'f5d691282653580dd5fd4a1092ef365b')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  aclocal
  autoconf
  ./configure --prefix=/usr --sysconfdir=/etc
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
   
  # install config file
  install -Dm644 ../bridges.conf.d "${pkgdir}/etc/conf.d/bridges"
}