#!/bin/bash

MAKEDEPS=(make)
DEPS=(xorg-server mesa)

DESC="X.org amdgpu video driver"

PKG_VER=21.0.0
SOURCE=https://www.x.org/pub/individual/driver/xf86-video-amdgpu-$PKG_VER.tar.bz2

build () {
    ./configure $XORG_CONFIG
    make
}

package () {
    make DESTDIR=$PKG_DEST install
}