aboutsummaryrefslogtreecommitdiffstats
path: root/testing/sxhkd/APKBUILD
blob: f4c6b73db39e659080d7bf8cd29f039ee8cabdec (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
28
29
30
31
32
33
34
35
# Contributor: Olivier Mauras <olivier@mauras.ch>
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=sxhkd
pkgver=0.5.5
pkgrel=1
pkgdesc="Simple X hotkey daemon"
url="https://github.com/baskerville/sxhkd"
arch="all"
license="BSD"
depends=""
depends_dev=""
makedepends="xcb-util-keysyms-dev libxcb-dev"
install=""
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/baskerville/sxhkd/archive/$pkgver.tar.gz"

_builddir=$srcdir/$pkgname-$pkgver
build() {
	cd "$_builddir"
	make PREFIX=/usr
}

package() {
	cd "$_builddir"
	make PREFIX=/usr DESTDIR="$pkgdir" install || return 1

	# Install examples
	mkdir "$pkgdir"/usr/share/$pkgname
	cp -r examples "$pkgdir"/usr/share/$pkgname || return 1
}

md5sums="e04b8d7173059bce156bec6d8cd4297d  sxhkd-0.5.5.tar.gz"
sha256sums="e6699f77564e34a890d27f6c251e1ed29b04f5177e48290e7f02948497f04313  sxhkd-0.5.5.tar.gz"
sha512sums="a0ea812e4cbd63330768349045547f330cdaeec7edc3270af7e7acc4b025f7aa1d2550214db0aef9621ba619e82ee9459ee76b050cc23f780f67ed0f26e9550b  sxhkd-0.5.5.tar.gz"