summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f222d318d68023191acc1541345d3125ff086302 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Maintainer: Giancarlo Razzolini <grazzolini@gmail.com>
pkgname=esekeyd
pkgver=1.2.7
pkgrel=4
pkgdesc="ESE Key Daemon is a multimedia keyboard daemon for Linux."
arch=('i686' 'x86_64')
url="http://freecode.com/projects/esekeyd"
license=('GPL')
depends=('glibc')
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.service")
sha256sums=('58bdac994be805d9c11b21065427c8f53684d38a1b44bb02b175fc4ee594cc56'
            '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"
}