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