# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
setvar pkgname = 'setxkbmap'
setvar pkgver = '1.3.1'
setvar pkgrel = '0'
setvar pkgdesc = ""set the keyboard using the X Keyboard Extension""
setvar url = ""http://xorg.freedesktop.org/""
setvar arch = ""all""
setvar license = ""MIT""
setvar depends = """"
setvar makedepends = ""libxkbfile-dev""
setvar subpackages = ""$pkgname-doc""
setvar source = ""http://www.x.org/releases/individual/app/$pkgname-$pkgver.tar.bz2""

setvar builddir = ""$srcdir/$pkgname-$pkgver""
proc build {
	cd $builddir
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		|| return 1
	make || return 1
}

proc package {
	cd $builddir
	make DESTDIR="$pkgdir" install || return 1
}

setvar md5sums = ""2c47a1b8e268df73963c4eb2316b1a89  setxkbmap-1.3.1.tar.bz2""
setvar sha256sums = ""a9ddb3963f263ba13f0ea105d8c45a531832140530217cc559587bb94f02d3e1  setxkbmap-1.3.1.tar.bz2""
setvar sha512sums = ""5ddc2fc40ddc5a35815606998d3f111e3c2b8d915bf609462c703f9f691a0b3a6477ee98837c0a28f11dd3f0a30f17a3bcdfa38d4ca45140e521c74d043ecdee  setxkbmap-1.3.1.tar.bz2""