blob: 4fcb28ee3a8eae8d0d5c411e014db7e55a440342 (
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
41
42
43
44
45
46
47
48
49
50
|
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=libxkbcommon
pkgver=0.3.1
pkgrel=0
pkgdesc="a keyboard handling library"
url="http://www.xkbcommon.org/"
arch="all"
license="MIT"
depends=""
depends_dev=""
makedepends="$depends_dev bison flex"
install=""
subpackages="$pkgname-dev"
source="http://xkbcommon.org/download/libxkbcommon-$pkgver.tar.xz"
_builddir="$srcdir"/libxkbcommon-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm -f "$pkgdir"/usr/lib/*.la
}
md5sums="7287ea51df79c0f80e92b970a30b95e9 libxkbcommon-0.3.1.tar.xz"
sha256sums="9c973581bba0c883a301fa6474d9c3e4f3a06c34e4ae4f1f4e113692cb18b38e libxkbcommon-0.3.1.tar.xz"
sha512sums="d5682f3663560d54bd3227ca0fdf52e651f2a14af46f49b4e7a5df2dc2e52748748f42c6334d6fd7328be72bd0c7e673e9783aa91d65a55a71266236f8b6a504 libxkbcommon-0.3.1.tar.xz"
|