aboutsummaryrefslogtreecommitdiffstats
path: root/community/keybinder3/APKBUILD
blob: 65a7982e0f7380600ea6a7c165aa6ad54a1ecaa6 (plain) (blame)
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
37
38
39
40
41
42
43
44
45
46
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=keybinder3
_pkgname=keybinder-3.0
pkgver=0.3.2
pkgrel=1
pkgdesc="Library for registering global key bindings, for gtk-based applications. GTK3 version"
url="https://github.com/engla/keybinder"
arch="all"
license="GPL-2.0"
makedepends="gtk+3.0-dev python2-dev py-gobject
gobject-introspection-dev automake autoconf libtool gnome-common
gtk-doc"
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/engla/keybinder/archive/$_pkgname-v${pkgver}.tar.gz"
builddir="$srcdir/keybinder-${_pkgname}-v$pkgver"

prepare() {
	default_prepare
	cd "$builddir"
	./autogen.sh
}

build() {
	cd "$builddir"
	./configure \
        --build=$CBUILD \
        --host=$CHOST \
		--prefix=/usr \
		--enable-shared \
		--disable-static \
		--enable-gtk-doc
	make
}

check() {
	cd "$builddir"
	make check
}

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

sha512sums="97311959c10d6d4ebf7e36076b255d7ae969835d43c3fc01c90edf045b59c8f67845b526d84a447b4053962f6830535d748e96432bbcc6e3cc7fa3d2f1493304  keybinder-3.0-v0.3.2.tar.gz"