4 pkgdesc="DXR3 and Hollywood+ driver (testing)"
6 url="http://dxr3.sourceforge.net/"
8 depends=('linux' "em8300-utils-git")
9 makedepends=('linux-headers')
10 install=em8300.install
15 #_gitroot=https://github.com/austriancoder/v4l2-em8300.git
16 _gitroot=https://github.com/uluckas/em8300.git
23 msg "Connecting to GIT server...."
25 if [ -d $startdir/src/${_gitname} ] ; then
26 cd $_gitname && git pull origin
27 msg "The local files are updated."
29 git clone ${_gitroot} ${_gitname}
32 msg "GIT checkout done or server timeout"
33 msg "Starting make..."
35 rm -rf $srcdir/$_gitname-build
36 cp -r $srcdir/$_gitname $srcdir/$_gitname-build
37 cd $srcdir/$_gitname-build/modules
39 # sed -e 's:#include <linux/videodev.h://#/include <linux/videodev.h:' -i *.c
42 make DESTDIR=$pkgdir install || return 1
44 chmod 644 $pkgdir/lib/modules/*/em8300/*.ko