# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=xf86-video-ast
pkgver=1.1.5
pkgrel=0
pkgdesc="ASPEED video driver for X11"
url="https://www.X.Org/"
arch="all"
license="MIT"
depends=""
makedepends="util-macros xorgproto-dev xorg-server-dev"
subpackages=""
source="https://www.x.org/releases/individual/driver/xf86-video-ast-$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="067c2ce3e74c83fe1531213308753cb80482d177c93009c99dc49e95bfa6ff058d81cc716d6c343b9ca1e0eb7aedf3b84beb12ad08b8cd4d9f43e11f9e192e8e  xf86-video-ast-1.1.5.tar.bz2"