aboutsummaryrefslogtreecommitdiffstats
path: root/community/libmatekbd/APKBUILD
blob: 71bb2ce4dd36b0451f5772148769c818d7e8254e (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.20.0
pkgrel=0
pkgdesc="MATE keyboard library"
url="https://github.com/mate-desktop/libmatekbd"
arch="all"
license="GPL-2.0"
depends="mate-common freetype"
makedepends="libxklavier-dev libtool intltool gtk+3.0-dev"
subpackages="$pkgname-dev $pkgname-lang"
source="http://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="5563f8ac7a2d9d0be7cdf56e7be7bdd0c912fa873e565f50d818642d2a3153ca0dc0ad22af55932a24322c0149748080763186083b2a520c2749d3cc05a76162  libmatekbd-1.20.0.tar.xz"