1 # Contributor: Thomas Mudrunka <harvie@@email..cz>
2 # Maintainer: Thomas Mudrunka <harvie@@email..cz>
3 # You can also contact me on http://blog.harvie.cz/
8 pkgdesc="Simple keyloger using /dev/input."
11 url="http://aur.archlinux.org/packages.php?ID=26497"
14 md5sums=('a6ba53cdd6df91203e5a15ba7098b0c8')
17 mkdir -p ${pkgdir}/usr/bin
18 gcc ${startdir}/klog.c -o ${pkgdir}/usr/bin/keylog
20 mkdir -p ${pkgdir}/usr/share/applications
25 Comment=Reads keystrokes from /dev/input events
26 Comment[cs]=Zobrazuje stisky kláves zjištěné z událostí v /dev/input
29 TryExec=/usr/bin/xterm
30 Exec=xterm -e "sudo /usr/bin/keylog /dev/input/event1; sleep 5;"
31 Icon=preferences-desktop-keyboard
33 Categories=Application;System;
34 ' > ${pkgdir}/usr/share/applications/key-loger.desktop
36 chmod -R 755 ${pkgdir}/