diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6e831ca197ca --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Andreas Rammhold <andreas@rammhold.de> + +pkgname=xf86-video-nouveau-git +_pkgname=xf86-video-nouveau +pkgver=1.0.13+7+g1516d35 +pkgrel=1 +pkgdesc="Open Source 2D acceleration driver for nVidia cards" +arch=('i686' 'x86_64') +url="http://nouveau.freedesktop.org/" +license=('GPL') +depends=('libdrm' 'systemd' 'mesa-dri') +makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=20' 'git') +conflicts=('xorg-server<1.16' 'X-ABI-VIDEODRV_VERSION<20' 'X-ABI-VIDEODRV_VERSION>=21', 'xf86-video-nouveau') +groups=('xorg-drivers' 'xorg') +install=$pkgname.install +#source=(http://xorg.freedesktop.org/archive/individual/driver/$pkgname-$pkgver.tar.bz2) +source=('git://anongit.freedesktop.org/nouveau/xf86-video-nouveau') +sha256sums=('SKIP') + +pkgver() { + cd $_pkgname + git describe --long | sed 's/xf86-video-nouveau-//' | sed 's/-/+/g' +} + +prepare() { + cd $_pkgname + NOCONFIGURE=1 ./autogen.sh + +# mkdir $pkgname-$pkgver +} + +build() { +# cd $pkgname-$pkgver + cd $_pkgname + ./configure --prefix=/usr + make +} + +package() { +# cd $pkgname-$pkgver + cd $_pkgname + make DESTDIR="$pkgdir" install +} |