summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorGiancarlo Razzolini2015-06-08 12:15:31 -0300
committerGiancarlo Razzolini2015-06-08 12:15:31 -0300
commitddd76bbdd99167ca2ed666bbf1e6cc567a023033 (patch)
treea44d546f8b26d3300a313f993bb1e4584afcd0a5 /PKGBUILD
downloadaur-ddd76bbdd99167ca2ed666bbf1e6cc567a023033.tar.gz
* Initial commit to migrate esekeyd to the new AUR system.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD30
1 files changed, 30 insertions, 0 deletions
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
+}