PKGBUILD 1.03 KB
Newer Older
Manuel Tortosa's avatar
Manuel Tortosa committed
1 2 3 4 5 6 7 8
#
# Core Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>

# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
9

Jan Mette's avatar
Jan Mette committed
10 11
pkgname=bridge-utils
pkgver=1.4
12
pkgrel=5
13 14
pkgdesc="Utilities for configuring the Linux ethernet bridge"
arch=('i686' 'x86_64')
Jan Mette's avatar
Jan Mette committed
15 16 17 18 19 20
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)
21 22
md5sums=('0182fcac3a2b307113bbec34e5f1c673'
         'f5d691282653580dd5fd4a1092ef365b')
Jan Mette's avatar
Jan Mette committed
23 24 25 26 27 28 29

build() {
  cd $srcdir/$pkgname-$pkgver
  aclocal
  autoconf
  ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man
  make || return 1
30 31 32 33
}

package() {
  cd $srcdir/$pkgname-$pkgver
Jan Mette's avatar
Jan Mette committed
34 35 36
  make DESTDIR=$pkgdir install || return 1
   
  # install config file
37
  install -Dm644 $srcdir/bridges.conf.d $pkgdir/etc/conf.d/bridges
Jan Mette's avatar
Jan Mette committed
38
}