aur/input-event-daemon

This commit is contained in:
Jason Plum 2013-11-13 10:23:24 -05:00
parent a6f5017135
commit 0f3aa7dcd8
2 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1,30 @@
# 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
}

View file

@ -0,0 +1,13 @@
# input-event-daemon.service
# Service file for input-event-daemon
# https://github.com/gandro/input-event-daemon
[Unit]
Description=Input Event Daemon
[Service]
Type=forking
ExecStart=/usr/bin/input-event-daemon
[Install]
WantedBy=multi-user.target