mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
aur/input-event-daemon
This commit is contained in:
parent
a6f5017135
commit
0f3aa7dcd8
2 changed files with 43 additions and 0 deletions
30
aur/input-event-daemon/PKGBUILD
Normal file
30
aur/input-event-daemon/PKGBUILD
Normal 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
|
||||||
|
}
|
13
aur/input-event-daemon/input-event-daemon.service
Normal file
13
aur/input-event-daemon/input-event-daemon.service
Normal 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
|
Loading…
Reference in a new issue