# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=xf86-video-qxl
pkgver=0.1.5
pkgrel=0
pkgdesc="QXL video driver for X11"
url="https://www.X.Org/"
arch="all"
license="X11"
depends=""
makedepends="eudev-dev libxfont2-dev spice-protocol util-macros xorgproto-dev
	xorg-server-dev"
subpackages=""
source="https://www.x.org/releases/individual/driver/xf86-video-qxl-$pkgver.tar.bz2"

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

check() {
	make check
}

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

sha512sums="7510b2d037b3e978df6063b29e2406f3d1270695a239f29fdaec9b1dc65a30ab10cb959f15eb336f78e93aa708d41c64c5ea43803958feffc64542229605b782  xf86-video-qxl-0.1.5.tar.bz2"