aboutsummaryrefslogtreecommitdiffstats
path: root/community/caribou/APKBUILD
blob: ed5cd2defe47c75b94580521784f39e3595d92bf (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=caribou
pkgver=0.4.21
pkgrel=7
pkgdesc="on screen keyboard implementation"
url="https://wiki.gnome.org/Projects/Caribou"
arch="all"
license="LGPL-2.1-only"
makedepends="gtk+3.0-dev clutter-dev libxklavier-dev libgee-dev
	intltool itstool libxml2-dev libxslt py3-gobject3-dev gobject-introspection-dev
	py3-gobject3"
subpackages="$pkgname-dev $pkgname-lang"
source="https://download.gnome.org/sources/caribou/${pkgver%.*}/caribou-$pkgver.tar.xz
	13df8b92ae89c796238e669ee6ef4447a42d6355.patch
	"

prepare() {
	default_prepare

	update_config_sub
	update_config_guess
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--disable-gtk2-module
	make
}

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

sha512sums="
5fc0cf54a1cad50d41e659adbbb932b51d69d18951562f87497e99aaae17ac72b453b759dd7289ff8f68a79574dfce510b9de6bedc61408c14cb48b83eaf08da  caribou-0.4.21.tar.xz
5b8f975813b6804e6c90419d44171b745074bd0cb9b0ee969fbb2dc993796af67585358788fb145ff93e18dffa049da05292bcec09359f387b6353adbdb67e39  13df8b92ae89c796238e669ee6ef4447a42d6355.patch
"