summaryrefslogtreecommitdiff
path: root/repo/xf86-video-nouveau/xf86-video-nouveau.xibuild
blob: 694cffcc0811a42772c104c9298b6ad1c2563342 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

MAKEDEPS="make xorg-server mesa"

DESC="X.org nouveau video driver"

PKG_VER=1.0.17
SOURCE=https://www.x.org/pub/individual/driver/xf86-video-nouveau-$PKG_VER.tar.bz2
ADDITIONAL="xorg-server-21.1.patch"

prepare () {
    apply_patches
}

build () {
    ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static
    make
}

package () {
    make DESTDIR=$PKG_DEST install
}