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

MAKEDEPS="make"
DEPS="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

prepare () {
    ggrep -rl slave | xargs sed -i s/slave/secondary/
}

build () {
    ./configure $XORG_CONFIG
    make
}

package () {
    make DESTDIR=$PKG_DEST install
}