# Maintainer: Linus Swälas pkgname=xf86-video-amdgpu pkgver=22.0.0 pkgrel=1 pkgdesc="AMD Rx/HDxxxx video driver" url="https://xorg.freedesktop.org" arch="all" license="MIT" subpackages="$pkgname-doc" options="!check" depends="mesa-dri-gallium" makedepends=" eudev-dev libdrm-dev libpciaccess-dev libxi-dev mesa-dev pixman-dev util-macros xorg-server-dev xorgproto " source="https://www.x.org/releases/individual/driver/xf86-video-amdgpu-$pkgver.tar.xz" build() { export LDFLAGS="$LDFLAGS -Wl,-z,lazy" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr make } check() { make check } package() { make DESTDIR="$pkgdir" install install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING } sha512sums=" 95c64e3fef7729ced6e7adc5e81c60cc218f6d8b6604f7b290e86ff52c917426b5102decbf8be8a66c9181ccde6e5dff7083dca8cc0c493a39e82625b5c7cb2a xf86-video-amdgpu-22.0.0.tar.xz "