aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxkbui/APKBUILD
blob: f1159a08a2580cb44af3aa1fe286a58c414a34c9 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxkbui
pkgver=1.0.2
pkgrel=7
pkgdesc="X11 keyboard UI presentation library"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
subpackages="$pkgname-dev"
depends=
depends_dev="libx11-dev xproto libxt-dev"
makedepends="$depends_dev libsm-dev libice-dev libxkbfile-dev"
source="http://www.x.org/releases/individual/lib/$pkgname-$pkgver.tar.bz2"

_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	cd "$_builddir"
	update_config_sub || return 1
}

build () {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}
sha512sums="ccfa2c8f740ae66e5b7c2ed19a8243696a34fb60d45d8d01bb540eb925d69c95ebe16b7a54f4362acc3170b1543f44eea8910135b11c4af88abce3637726062d  libxkbui-1.0.2.tar.bz2"