1 # Maintainer: Peter Feigl <peter.feigl@gmail.com>
5 pkgdesc="Userspace driver for the Logitech G13 Keyboard"
7 url="https://github.com/ecraven/g13"
21 _gitroot="https://github.com/ecraven/g13"
26 msg "Connecting to GIT server...."
28 if [ -d $_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 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
40 cd "$srcdir/$_gitname-build"
50 cd "$srcdir/$_gitname-build"
51 mkdir -p ${pkgdir}/usr/bin
52 cp g13 ${pkgdir}/usr/bin