1 # Maintainer: Stanislav GE <ginermail@gmail.com>
3 _srcdirname=markh794-mhvtl-a6b429e
7 pkgdesc='A Virtual Tape & Library system'
9 url=http://sites.google.com/site/linuxvtl2
13 source=(http://download.github.com/markh794-$pkgname-${pkgver//_/-}_release-0-ga6b429e.tar.gz
15 md5sums=('740b1e1b6d33657d26a81eb141250b3e'
16 '5a10891750d6a34efac472aecc3b257f')
17 install=${pkgname}.install
21 cd $srcdir/${_srcdirname}
22 patch -Np0 -i $startdir/${pkgname}_destdir.patch
23 make USR=root GROUP=root all kernel
26 make USR=root GROUP=root DESTDIR=$pkgdir install
28 # Install kernel module
30 make DESTDIR=$pkgdir install
34 install -d $pkgdir/usr/share/man/man{1,5}
35 install -D -m 644 $srcdir/${_srcdirname}/man/*.1 $pkgdir/usr/share/man/man1/
36 install -D -m 644 $srcdir/${_srcdirname}/man/*.5 $pkgdir/usr/share/man/man5/