aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/keybinder/APKBUILD
blob: b388b04688001db8d54a8f050a8d025b1a64f2bd (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
36
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=keybinder
pkgver=0.3.0
pkgrel=2
pkgdesc="A library for registering global keyboard shortcuts"
url="https://github.com/kupferlauncher/keybinder/tree/keybinder-legacy"
arch="all"
license="GPL-2.0-or-later"
options="!check" # No test suite
depends_dev="libxext-dev"
makedepends="gtk+2.0-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://dev.alpinelinux.org/archive/keybinder/keybinder-$pkgver.tar.gz"

prepare() {
	default_prepare
	update_config_sub
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--disable-static \
		--disable-python \
		--disable-lua
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="93ed88caa8246286907b9744383487391412b52be534cf085a6090c390bab181dc617721bb9216f29fd8314a40f65e27630d699ac6cb1657e0641a3d472eb22e  keybinder-0.3.0.tar.gz"