aboutsummaryrefslogtreecommitdiffstats
path: root/community/libgnomekbd/APKBUILD
blob: 5de27200adf4e381c0c7bad7afff1e50400f471a (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
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer:
pkgname=libgnomekbd
pkgver=3.26.1
pkgrel=1
pkgdesc="GNOME keyboard library"
url="https://www.gnome.org/"
arch="all"
license="GPL-2.0-or-later"
depends="desktop-file-utils"
depends_dev="gtk+3.0-dev libxklavier-dev libxml2-dev gobject-introspection-dev
	libxcursor-dev libxcomposite-dev libxi-dev libxau-dev libxdmcp-dev libxext-dev
	libxcb-dev"
makedepends="$depends_dev intltool"
subpackages="$pkgname-dev $pkgname-lang"
source="https://download.gnome.org/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--disable-static \
		--enable-tests \
		--enable-introspection
	make
}

check() {
	make check
}

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

sha512sums="8e83522f4d96001f9635278a001e0208d6d37e74b19a8c1702ec6de651036ad37a03385e66adbd3bae01d845a9a6181bb76f45bffec31eac98d600b49ab4360c  libgnomekbd-3.26.1.tar.xz"