summaryrefslogtreecommitdiff
path: root/pcr/xf86-video-amdgpu/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/xf86-video-amdgpu/PKGBUILD')
-rw-r--r--pcr/xf86-video-amdgpu/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/pcr/xf86-video-amdgpu/PKGBUILD b/pcr/xf86-video-amdgpu/PKGBUILD
new file mode 100644
index 000000000..84903cfd7
--- /dev/null
+++ b/pcr/xf86-video-amdgpu/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer (Arch): Laurent Carlier <lordheavym@gmail.com>
+# Maintainer: Isaac David <isacdaavid@at@isacdaavid@dot@info>
+
+pkgname=xf86-video-amdgpu
+pkgver=1.1.0
+pkgrel=1
+pkgdesc="X.org amdgpu video driver"
+arch=('i686' 'x86_64' 'armv7h')
+url="http://xorg.freedesktop.org/"
+license=('custom')
+depends=('libdrm' 'systemd' 'mesa-dri')
+makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=20')
+conflicts=('xorg-server<1.18.0' 'X-ABI-VIDEODRV_VERSION<20' 'X-ABI-VIDEODRV_VERSION>=21')
+groups=('xorg-drivers' 'xorg')
+source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
+md5sums=('89e62ee60b12f94e27ab76268bbbe778'
+ )
+validpgpkeys=('B09FAF35BE914521980951145A81AF8E6ADBB200') # Michel Daenzer <michel@daenzer.net>
+
+build() {
+ cd ${pkgname}-${pkgver}
+
+ ./configure --prefix=/usr \
+ --enable-glamor
+ make
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+
+ make "DESTDIR=${pkgdir}" install
+ install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
+}