core/aufs3-util/PKGBUILD
Phil 36b5c4b2e2 * grub2: fix efi pkg
* linux: bump to 3.0.2 with aufs3
* aufs3-util: inital commit
2011-08-16 23:04:18 +00:00

37 lines
1.1 KiB
Bash

#
# Chakra 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
pkgname=aufs3-util
pkgver=20110817
_aufs="3.0-20110815"
pkgrel=1
pkgdesc="Another Unionfs Implementation that supports NFS branches"
arch=('i686' 'x86_64')
url="http://aufs.sourceforge.net/"
license=('GPL2')
depends=('glibc')
makedepends=("aufs3>=$_aufs" 'linux-headers')
replaces=('aufs-utils' 'aufs2-utils')
conficts=('aufs-utils' 'aufs2-utils')
source=(http://chakra-project.org/sources/aufs3-util/aufs3-util-$pkgver.tar.gz)
md5sums=('49373f619b5088c6a95759011188d073')
build() {
cd $srcdir/aufs3-util-$pkgver || return 1
# fix KDIR
export CPPFLAGS="-I /usr/src/linux-3.0-CHAKRA/include/"
#sed -i 's|$(shell uname -r)|2.6.36-CHAKRA|g' ./Makefile
# build
make || return 1
# install
#mkdir -p $pkgdir/{sbin,usr/bin,etc/default/aufs}
make DESTDIR=$pkgdir install || return 1
}