# $Id: PKGBUILD 77953 2010-04-19 06:47:41Z allan $ # Maintainer: # Contributor: Judd Vinet pkgname=ifenslave pkgver=1.1.0 pkgrel=5 pkgdesc="Utility for bonding ethernet interfaces" arch=('i686' 'x86_64') url="http://www.linuxfoundation.org/en/Net:Bonding" license=('GPL2') depends=('glibc') makedepends=('kernel26-headers') backup=('etc/conf.d/bonding') source=(ftp://ftp.archlinux.org/other/ifenslave/ifenslave.c bonding.conf.d) md5sums=('b0d8e4c97094155747cc9238f762c7aa' '397fccbf574d5082c7a3c8d3793dc000') build() { cd $srcdir gcc $CFLAGS -I/usr/src/linux-$(uname -r)/include ifenslave.c -o ifenslave } package() { cd $srcdir install -Dm755 ifenslave $pkgdir/sbin/ifenslave install -Dm644 bonding.conf.d $pkgdir/etc/conf.d/bonding }