summaryrefslogblamecommitdiff
path: root/user/xkbutils/APKBUILD
blob: d627a69a855cbc75764b6b971a1df41beef54ca9 (plain) (tree)











































                                                                                                                                                                     
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=xkbutils
pkgver=1.0.4
pkgrel=0
pkgdesc="Utilities for managing keyboards using XKB"
url="https://www.X.Org/"
arch="all"
license="MIT AND X11"
depends=""
makedepends="libx11-dev libxaw-dev libxt-dev util-macros xorgproto-dev"
subpackages="$pkgname-doc"
source="https://www.x.org/releases/individual/app/xkbutils-$pkgver.tar.bz2"

prepare() {
	cd "$builddir"
	default_prepare
	chmod a+w config.sub
	update_config_sub
}

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	cd "$builddir"
	make check
}

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

sha512sums="5bb6cb52ac02a4ec18332559853815585ca86e00e8c6452483af10c4db75811fe00952575dbbad5b7d03b9d6498830fb45d617b1b3c5c1cea8445f1131856a4d  xkbutils-1.0.4.tar.bz2"