latest circuit
[mirrors/ArchLinux-Packages.git] / klog / PKGBUILD
... / ...
CommitLineData
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/
4
5pkgname=keylog
6pkgver=0.6
7pkgrel=2
8pkgdesc="Simple keyloger using /dev/input."
9arch=('any')
10license=('GPL')
11url="http://aur.archlinux.org/packages.php?ID=26497"
12depends=('glibc')
13source=('klog.c')
14md5sums=('a6ba53cdd6df91203e5a15ba7098b0c8')
15
16build() {
17 mkdir -p ${pkgdir}/usr/bin
18 gcc ${startdir}/klog.c -o ${pkgdir}/usr/bin/keylog
19
20mkdir -p ${pkgdir}/usr/share/applications
21
22 echo '[Desktop Entry]
23Encoding=UTF-8
24Name=KeyLog
25Comment=Reads keystrokes from /dev/input events
26Comment[cs]=Zobrazuje stisky kláves zjištěné z událostí v /dev/input
27GenericName=Key Loger
28Type=Application
29TryExec=/usr/bin/xterm
30Exec=xterm -e "sudo /usr/bin/keylog /dev/input/event1; sleep 5;"
31Icon=preferences-desktop-keyboard
32Terminal=false
33Categories=Application;System;
34' > ${pkgdir}/usr/share/applications/key-loger.desktop
35
36 chmod -R 755 ${pkgdir}/
37}
This page took 0.209121 seconds and 4 git commands to generate.