updated on Sat Jan 14 00:11:12 UTC 2012
[aur-mirror.git] / dazukofs / PKGBUILD
blob9b637577ca8eaac06cf6f66b76ab418da2767d75
1 # Maintainer: TDY <tdy@gmx.com>
3 pkgname=dazukofs
4 pkgver=3.1.4
5 pkgrel=1
6 pkgdesc="A stackable filesystem providing online file access control for userspace applications"
7 arch=('i686' 'x86_64')
8 url="http://www.dazuko.org/"
9 license=('GPL')
10 depends=('kernel26>=2.6.31')
11 options=('!makeflags')
12 install=$pkgname.install
13 source=(http://dazuko.dnsalias.org/files/$pkgname-$pkgver.tar.gz)
14 md5sums=('8a3e01a93a37867a021b1b8524f63461')
16 build() {
17   cd "$srcdir/$pkgname-$pkgver"
18   make
21 package() {
22   install -Dm644 "$srcdir/$pkgname-$pkgver/$pkgname.ko" \
23     "$pkgdir/lib/modules/$(uname -r)/kernel/fs/$pkgname/$pkgname.ko"
24   sed -i "/^KERN/ s/=.*/=$(uname -r)/" "$startdir/$install"