aboutsummaryrefslogtreecommitdiffstats
path: root/community/libmatekbd/APKBUILD
blob: 3df710d9dac897a825b07cad50237af0f65a7b9a (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
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=libmatekbd
pkgver=1.21.0
pkgrel=1
pkgdesc="MATE keyboard library"
url="https://github.com/mate-desktop/libmatekbd"
arch="all"
license="LGPL-2.1-or-later"
depends="mate-common freetype"
makedepends="libxklavier-dev libtool intltool gtk+3.0-dev"
subpackages="$pkgname-dev $pkgname-lang"
source="https://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--sysconfdir=/etc \
		--enable-static=no \
		--prefix=/usr
	make
}

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

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

sha512sums="369e9afee2ccb4d302ac5fc5a2cd2ed7098bd35ac2b8704a6fe88eb4dc6ac3d1092fe4a48294d0f6a02822a1e2433e528ba4fdfe1e5b48344202541edb15f469  libmatekbd-1.21.0.tar.xz"