# Maintainer: domanov <_domanov_@_gmail_.com> pkgname=logkeys pkgver=0.1.1a pkgrel=3 pkgdesc="A simple keylogger" arch=('i686' 'x86_64') url="http://code.google.com/p/logkeys/" license=('GPLv3') source=(http://logkeys.googlecode.com/files/$pkgname-$pkgver.tar.gz logkeys-stdout.patch) md5sums=('19362a382b65e89c66ea4c5642297589' 'c11258ab13560081c2cdb56ccd31c6cd') optdepends=('logkeys-keymap: for keymaps other than standard en_US') build() { cd $srcdir/$pkgname-$pkgver patch -p1 < $srcdir/logkeys-stdout.patch ./configure --prefix=/usr make || return 1 make prefix=$pkgdir/usr install }