# Maintainer: Natanael Copa pkgname=xf86-video-sis pkgver=0.10.9 pkgrel=1 pkgdesc="X.org SiS video driver" url="http://xorg.freedesktop.org/" arch="all" license="MIT" subpackages="$pkgname-doc" depends= makedepends="xorg-server-dev videoproto renderproto xproto util-macros fontsproto xf86dgaproto xineramaproto randrproto xextproto mesa-dev xf86driproto glproto libxi-dev" source="http://www.x.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2 " builddir="$srcdir"/$pkgname-$pkgver build() { cd "$builddir" export LDFLAGS="$LDFLAGS -Wl,-z,lazy" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr make } check() { cd "$builddir" make check } package() { cd "$builddir" make DESTDIR="$pkgdir" install install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING } sha512sums="7cb11d2f1f8be8d92159af7e322a9e4fe4e3436c38932d6d665b8854c2009495e99ff075c7a14d9db9c781114afc8397f0e8c1225d9a2f4bbf1b6a4b6cd6745d xf86-video-sis-0.10.9.tar.bz2"