# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xset
pkgver=1.2.3
pkgrel=1
pkgdesc="X.Org xset application"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
subpackages="$pkgname-doc"
depends=""
makedepends="libxmu-dev libx11-dev libxext-dev util-macros"
source="http://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
}

md5sums="dcd227388b57487d543cab2fd7a602d7  xset-1.2.3.tar.bz2"
sha256sums="4382f4fb29b88647e13f3b4bc29263134270747fc159cfc5f7e3af23588c8063  xset-1.2.3.tar.bz2"
sha512sums="7b2cf4b06b93aec9f6f868be3f0932a5d6e62968485f7eb742a9b775059aa2a49c9170404e0597fd41a5730c0bf321e371ee6b23bbcde3be054f768ab8d3d92a  xset-1.2.3.tar.bz2"
