1 # $Id: PKGBUILD 6743 2009-12-21 12:17:19Z ibiru $
2 # Contributor: Yarema aka Knedlyk <yupadmin@gmail.com>
4 pkgname=em8300-utils-git
8 pkgdesc="DXR3 and Hollywood+ driver (testing)"
9 url="http://dxr3.sourceforge.net/"
12 optdepends=('gtk2: to use dxr3view, dhc or autocal'
13 'perl: to use em8300 scripts')
14 conflicts=('em8300-utils')
15 provides=('em8300-utils')
18 #_gitroot=https://github.com/austriancoder/em8300.git
19 _gitroot=https://github.com/uluckas/em8300.git
26 msg "Connecting to GIT server...."
28 if [ -d $startdir/src/$_gitname ] ; then
29 cd $_gitname && git pull origin
30 msg "The local files are updated."
32 git clone $_gitroot $_gitname
35 msg "GIT checkout done or server timeout"
36 msg "Starting make..."
38 rm -rf $srcdir/$_gitname-build
39 cp -r $srcdir/$_gitname $srcdir/$_gitname-build
40 cd $srcdir/$_gitname-build
43 ./configure --prefix=/usr
45 make DESTDIR="${pkgdir}" install || return 1
47 install -m 644 -D modules/em8300-udev.rules "${pkgdir}/lib/udev/rules.d/em8300.rules" || return 1