# Contributor: Sören Tempel # Maintainer: Natanael Copa pkgname=xf86-video-nouveau pkgver=1.0.14 pkgrel=0 pkgdesc="Open-source X.org drivers for nVidia video cards" url="http://nouveau.freedesktop.org/" arch="all" license="MIT" depends="mesa-dri-nouveau" depends_dev= makedepends="randrproto renderproto videoproto xextproto libdrm-dev xorg-server-dev util-macros xf86driproto eudev-dev" install="" subpackages="$pkgname-doc" source="http://xorg.freedesktop.org/archive/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 \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ || return 1 make || return 1 } package() { cd "$builddir" make DESTDIR="$pkgdir" install || return 1 } sha512sums="f07d49d736f87d4f42781c3cf3b5d07e7c57ca864973a917f6a7933082be1663214e9174f1434ddded094fac74f2087c63bb5ae528e21baf99dcd3385b219e66 xf86-video-nouveau-1.0.14.tar.bz2"