summaryrefslogtreecommitdiffstats
path: root/xorg-xf86-video-nouveau/Pkgfile
blob: 150e27e95bbbe958d7f3db0b7eda85324e763ca6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Description: Pilote Nouveau pour Xorg.
# URL: http://nouveau.freedesktop.org/
# Maintainer: http://cgit.freedesktop.org/nouveau/xf86-video-nouveau
# Packager: piernov <piernov@piernov.org>
# Depends on: xorg-server, libdrm
# Run on: xorg-server,libdrm

name=xorg-xf86-video-nouveau
realname=xf86-video-nouveau
version=0.0.16
release=aab58ee9-1
source=(http://cgit.freedesktop.org/nouveau/$realname/snapshot/$realname-${release%-*}.tar.gz)

build() {
	cd $realname-${release%-*}
	NOCONFIGURE=yes ./autogen.sh
	./configure $XORG_CONFIG \
		--with-xorg-module-dir=$XORG_PREFIX/lib/X11/modules
	sed "s|@DRIVER_MAN_SUFFIX@||" -i man/Makefile
	make
	make DESTDIR=$PKG install
}