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