PKGBUILDs/aur/input-event-daemon/PKGBUILD
2013-11-13 10:23:24 -05:00

30 lines
843 B
Bash

# Maintainer: Sebastian Wicki <gandro@gmx.net>
# Contributor: Jason Plum <jplum@archlinuxarm.org>
pkgname=input-event-daemon
pkgver=0.1.3
pkgrel=3
pkgdesc="A daemon which handles input events such as shortcuts or switches"
arch=('i686' 'x86_64')
url="http://github.com/gandro/input-event-daemon"
license=('custom')
groups=()
depends=('glibc')
makedepends=('linux-api-headers')
source=(
"http://github.com/gandro/$pkgname/tarball/v$pkgver/$pkgname-$pkgver.tar.gz"
'input-event-daemon.service'
)
md5sums=('72f8133df6d7327eb9e6f573d2a68f00'
'20d4e52acd32e9a272efcd8204f17d20')
build() {
cd $srcdir/gandro-$pkgname-*/
make || return 1
}
package() {
cd $srcdir/gandro-$pkgname-*/
make DESTDIR=$pkgdir install || return 1
install -D -m 755 $srcdir/${pkgname}.service $pkgdir/usr/lib/systemd/system/${pkgname}.service
}