#!/bin/sh NAME="xf86-video-nouveau" DESC="Open-source X.org drivers for nVidia video cards" MAKEDEPS=" libdrm xorg-server xorg-util-macros eudev xorgproto" PKG_VER=1.0.17 SOURCE="https://www.x.org/archive/individual/driver/xf86-video-nouveau-$PKG_VER.tar.bz2" ADDITIONAL=" xorg-server-21.1.patch " prepare () { apply_patches } build() { export LDFLAGS="$LDFLAGS -Wl,-z,lazy" ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var make } check() { make check } package() { make DESTDIR="$PKG_DEST" install }