1 # Contributor: Vojtech Kral <kral.vojtech (at) gmail.com>
6 pkgdesc="EXPERIMENTAL do not use. This is a KERNEL ULTRAS kernel module - A humorous module related to a small group of Linux/Unix fans in CZ"
8 url="http://github.com/kralyk/kumodule"
11 depends=('kernel26>=2.6.27')
17 _gitroot="git://github.com/kralyk/kumodule.git"
19 _builddir=$_gitname-build
24 msg "Connecting to GIT server...."
26 if [ -d $_gitname ] ; then
27 cd $_gitname && git pull origin
28 msg "The local files are updated."
30 git clone $_gitroot $_gitname
33 msg "GIT checkout done or server timeout"
34 msg "Starting make..."
36 rm -rf "$srcdir/$_builddir"
37 git clone "$srcdir/$_gitname" "$srcdir/$_builddir"
38 cd "$srcdir/$_builddir"
45 cd "$srcdir/$_builddir"
46 install -D -m 755 kumodule.ko "$pkgdir/lib/modules/`uname -r`/kernel/drivers/char/kumodule.ko"
47 install -D -m 755 KU.rules "$pkgdir/etc/udev/rules.d/10-KU.rules"