blob: 02cfa839276c89269713504afe3f80e9328514da (
plain)
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
|
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=libxkbcommon
pkgver=0.8.2
pkgrel=0
pkgdesc="a keyboard handling library"
url="https://www.xkbcommon.org/"
arch="all"
license="MIT"
makedepends="bison flex libxcb-dev util-macros xorgproto"
checkdepends="bash"
subpackages="$pkgname-dev"
source="http://xkbcommon.org/download/libxkbcommon-$pkgver.tar.xz"
builddir="$srcdir"/libxkbcommon-$pkgver
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var
make
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="b714240ec6120bbe44b5da7a4f89b1c2f24cfd6e5ebbe81e5290d135c8f2e5a68f89ac256b73430a446167345f8db309b35dcf74f3d3840e20897cd91eccc172 libxkbcommon-0.8.2.tar.xz"
|