# $Id: PKGBUILD 86684 2010-08-03 09:45:43Z tpowa $ # Contributor: Paul Mattal # Maintainer: Paul Mattal pkgname=aufs2-util pkgver=20100802 pkgrel=1 pkgdesc="Another Unionfs Implementation that supports NFS branches" arch=('i686' 'x86_64') url="http://aufs.sourceforge.net/" license=('GPL2') depends=('glibc') makedepends=('aufs2>=2.6.35_20100802' 'kernel26-headers') replaces=('aufs-utils') source=("ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.gz" aufs2-util_makefile.patch) build() { cd $srcdir/$pkgname-$pkgver patch -p0 < ${srcdir}/aufs2-util_makefile.patch || return 1 make || return 1 } package() { cd $srcdir/$pkgname-$pkgver make DESTDIR=$pkgdir install || return 1 } md5sums=('f10e57e84df2ca01c338b2d8a2a1f337' 'a55b670edcefa624883cd120d02edf12')