blob: a4686eabba7fde20b4c07e585f3847470970cc94 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Maintainer: lod <aur@cyber-anlage.de>
pkgname=amdvlk-bin
pkgver=2019.Q4.4
pkgrel=1
pkgdesc='Open-source Vulkan driver for AMD Radeon™ graphics adapters (Stable DEB Release)'
arch=('x86_64')
url='https://github.com/GPUOpen-Drivers/AMDVLK'
license=('MIT')
depends=('vulkan-icd-loader')
conflicts=('amdvlk' 'amdvlk-deb' 'amdvlk-git')
provides=('amdvlk' 'vulkan-driver')
source=(https://github.com/GPUOpen-Drivers/AMDVLK/releases/download/v-${pkgver}/amdvlk_${pkgver}_amd64.deb)
sha256sums=('37ed8298a84f25855c8d2d8e8dacd2da2a32b03b7e932b644585ba2a7a8bbef5')
build() {
ar -x ${srcdir}/amdvlk_${pkgver}_amd64.deb
tar -xJf ${srcdir}/data.tar.xz
}
package() {
install -m755 -d ${pkgdir}/usr/lib
install -m755 -d ${pkgdir}/usr/share/vulkan/icd.d
install -m755 -d ${pkgdir}/usr/share/licenses/${pkgname}/
install usr/lib/x86_64-linux-gnu/amdvlk64.so ${pkgdir}/usr/lib/
install usr/lib/x86_64-linux-gnu/spvgen.so ${pkgdir}/usr/lib/
install etc/vulkan/icd.d/amd_icd64.json ${pkgdir}/usr/share/vulkan/icd.d/
install usr/share/doc/amdvlk/copyright ${pkgdir}/usr/share/licenses/${pkgname}/
sed -i "s/\/x86_64-linux-gnu\//\//g" ${pkgdir}/usr/share/vulkan/icd.d/amd_icd64.json
}
|