summaryrefslogtreecommitdiff
path: root/user/libxkbui/APKBUILD
blob: 1d5bcf8f284451517c138cb7e55051c5baca25e1 (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
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libxkbui
pkgver=1.0.2
pkgrel=9
pkgdesc="X11 keyboard UI presentation library"
url="https://www.X.Org/"
arch="all"
license="MIT"
depends=""
makedepends="libice-dev libsm-dev libx11-dev libxkbfile-dev libxt-dev xorgproto-dev"
subpackages="$pkgname-dev"
source="https://www.X.Org/releases/individual/lib/$pkgname-$pkgver.tar.bz2"

prepare() {
	default_prepare
	update_config_sub
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

check() {
	make check
}

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

sha512sums="ccfa2c8f740ae66e5b7c2ed19a8243696a34fb60d45d8d01bb540eb925d69c95ebe16b7a54f4362acc3170b1543f44eea8910135b11c4af88abce3637726062d  libxkbui-1.0.2.tar.bz2"