1 # Contributor: wido <widomaker2k7@gmail.com>
2 # Maintainer: SanskritFritz (gmail)
7 pkgdesc="Simple keylogger also supporting USB keyboards"
11 optdepends=('logkeys-keymap: for additional keymaps')
12 makedepends=('subversion')
15 url="http://logkeys.googlecode.com/"
17 install=logkeys.install
19 md5sums=('aed9cd7a6775d7ec42fe71dc27dbf6cf')
22 _svntrunk="http://logkeys.googlecode.com/svn/trunk/"
26 msg "Getting source..."
27 if [ -d $_svnmod/.svn ]; then
28 (cd $_svnmod && svn up)
30 svn co $_svntrunk $_svnmod
33 msg "Creating make environment..."
34 rm -rf $srcdir/$_svnmod/build/*
35 mkdir -p "$pkgdir/usr/bin/"
36 cd $srcdir/$_svnmod/build
38 msg "Starting make..."
39 ../configure --prefix=/usr
44 cd $srcdir/$_svnmod/build
45 make DESTDIR="$pkgdir/" install
47 install -Dm0755 "${srcdir}/logkeysd.sh" "${pkgdir}/etc/rc.d/logkeys"