summaryrefslogblamecommitdiff
path: root/user/setxkbmap/APKBUILD
blob: 637166f2936cb35576f6312d113552eccac42bd7 (plain) (tree)



































                                                                                                                                                                      
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=setxkbmap
pkgver=1.3.1
pkgrel=2
pkgdesc="Set keyboard layout in X11"
url="https://www.X.Org/"
arch="all"
license="MIT"
depends=""
makedepends="libxkbfile-dev util-macros"
subpackages="$pkgname-doc"
source="https://www.X.Org/releases/individual/app/$pkgname-$pkgver.tar.bz2"

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="5ddc2fc40ddc5a35815606998d3f111e3c2b8d915bf609462c703f9f691a0b3a6477ee98837c0a28f11dd3f0a30f17a3bcdfa38d4ca45140e521c74d043ecdee  setxkbmap-1.3.1.tar.bz2"