summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiancarlo Razzolini2015-06-08 12:15:31 -0300
committerGiancarlo Razzolini2015-06-08 12:15:31 -0300
commitddd76bbdd99167ca2ed666bbf1e6cc567a023033 (patch)
treea44d546f8b26d3300a313f993bb1e4584afcd0a5
downloadaur-ddd76bbdd99167ca2ed666bbf1e6cc567a023033.tar.gz
* Initial commit to migrate esekeyd to the new AUR system.
-rw-r--r--.SRCINFO18
-rw-r--r--.gitignore2
-rw-r--r--PKGBUILD30
-rw-r--r--esekeyd.install11
-rw-r--r--esekeyd.service9
5 files changed, 70 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c359d0ee6c3
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = esekeyd
+ pkgdesc = ESE Key Daemon is a multimedia keyboard daemon for Linux.
+ pkgver = 1.2.7
+ pkgrel = 1
+ url = http://freecode.com/projects/esekeyd
+ install = esekeyd.install
+ arch = any
+ license = GPL
+ depends = glibc
+ source = http://www.burghardt.pl/files/esekeyd-1.2.7.tar.gz
+ source = esekeyd.install
+ source = esekeyd.service
+ sha256sums = 58bdac994be805d9c11b21065427c8f53684d38a1b44bb02b175fc4ee594cc56
+ sha256sums = 6ca6d9e9cbb8c32c3ec686dda35728c1901c166a78e4d5e0a74a812fa7de119e
+ sha256sums = 6e3ab29acc42dea73da9184c1d553975ddadf92957d8e448762630ac4b16282f
+
+pkgname = esekeyd
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..5a95be9a718
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+/esekeyd-*.tar.xz
+/esekeyd-*.tar.gz
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..bb942ae4fdf
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Giancarlo Razzolini <grazzolini@gmail.com>
+pkgname=esekeyd
+pkgver=1.2.7
+pkgrel=1
+pkgdesc="ESE Key Daemon is a multimedia keyboard daemon for Linux."
+arch=('any')
+url="http://freecode.com/projects/esekeyd"
+license=('GPL')
+depends=('glibc')
+install=$pkgname.install
+DLAGENTS='http::/usr/bin/curl -fLC - --user-agent Firefox --retry 3 --retry-delay 3 -o %o %u'
+source=("http://www.burghardt.pl/files/$pkgname-$pkgver.tar.gz"
+ "$pkgname.install"
+ "$pkgname.service")
+sha256sums=('58bdac994be805d9c11b21065427c8f53684d38a1b44bb02b175fc4ee594cc56'
+ '6ca6d9e9cbb8c32c3ec686dda35728c1901c166a78e4d5e0a74a812fa7de119e'
+ '6e3ab29acc42dea73da9184c1d553975ddadf92957d8e448762630ac4b16282f')
+
+build() {
+ cd "$pkgname-$pkgver"
+ ./configure --prefix=/usr --sbindir=/usr/bin
+ make
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+ install -Dm644 examples/example.conf $pkgdir/etc/$pkgname.conf
+ install -Dm644 $srcdir/$pkgname.service $pkgdir/usr/lib/systemd/system/$pkgname.service
+}
diff --git a/esekeyd.install b/esekeyd.install
new file mode 100644
index 00000000000..1b78abd291d
--- /dev/null
+++ b/esekeyd.install
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+post_install() {
+ cat<<INSTALLEOF
+ Edit the example configuration file provided in /etc/esekeyd.conf and enable/start it using systemctl.
+INSTALLEOF
+}
+
+post_upgrade() {
+ post_install
+}
diff --git a/esekeyd.service b/esekeyd.service
new file mode 100644
index 00000000000..7863d28abc1
--- /dev/null
+++ b/esekeyd.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=ESE Key Daemon
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/esekeyd /etc/esekeyd.conf
+
+[Install]
+WantedBy=multi-user.target