upgpkg: amdvlk-2023q3.3 2023.Q3.3-2: fix paths

* Use correct directory for license files
This commit is contained in:
Manuel 2024-04-11 19:29:05 +02:00
parent a3521989f7
commit 643eb8cbef
2 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,7 @@
pkgbase = amdvlk-2023q3.3 pkgbase = amdvlk-2023q3.3
pkgdesc = AMD's standalone Vulkan driver for Pre-GFX10 GPUs (Vega, Polaris) pkgdesc = AMD's standalone Vulkan driver for Pre-GFX10 GPUs (Vega, Polaris)
pkgver = 2023.Q3.3 pkgver = 2023.Q3.3
pkgrel = 1 pkgrel = 2
url = https://github.com/GPUOpen-Drivers url = https://github.com/GPUOpen-Drivers
arch = x86_64 arch = x86_64
license = MIT license = MIT

View file

@ -5,7 +5,7 @@
pkgname=amdvlk-2023q3.3 pkgname=amdvlk-2023q3.3
_pkgname=amdvlk _pkgname=amdvlk
pkgver=2023.Q3.3 pkgver=2023.Q3.3
pkgrel=1 pkgrel=2
pkgdesc="AMD's standalone Vulkan driver for Pre-GFX10 GPUs (Vega, Polaris)" pkgdesc="AMD's standalone Vulkan driver for Pre-GFX10 GPUs (Vega, Polaris)"
arch=('x86_64') arch=('x86_64')
url="https://github.com/GPUOpen-Drivers" url="https://github.com/GPUOpen-Drivers"
@ -52,12 +52,12 @@ package() {
install -m755 -d "${pkgdir}"/usr/lib install -m755 -d "${pkgdir}"/usr/lib
install -m755 -d "${pkgdir}"/usr/share/vulkan/icd.d install -m755 -d "${pkgdir}"/usr/share/vulkan/icd.d
install -m755 -d "${pkgdir}"/usr/share/vulkan/implicit_layer.d install -m755 -d "${pkgdir}"/usr/share/vulkan/implicit_layer.d
install -m755 -d "${pkgdir}"/usr/share/licenses/${pkgname} install -m755 -d "${pkgdir}"/usr/share/licenses/${_pkgname}
install xgl/builds/Release64/icd/amdvlk64.so "${pkgdir}"/usr/lib/ install xgl/builds/Release64/icd/amdvlk64.so "${pkgdir}"/usr/lib/
install xgl/builds/Release64/icd/amd_icd64.json "${pkgdir}"/usr/share/vulkan/icd.d/ install xgl/builds/Release64/icd/amd_icd64.json "${pkgdir}"/usr/share/vulkan/icd.d/
install xgl/builds/Release64/icd/amd_icd64.json "${pkgdir}"/usr/share/vulkan/implicit_layer.d/ install xgl/builds/Release64/icd/amd_icd64.json "${pkgdir}"/usr/share/vulkan/implicit_layer.d/
install AMDVLK-v-${pkgver}/LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/ install AMDVLK-v-${pkgver}/LICENSE.txt "${pkgdir}"/usr/share/licenses/${_pkgname}/
sed -i "s#/lib64#/lib#g" "${pkgdir}"/usr/share/vulkan/icd.d/amd_icd64.json sed -i "s#/lib64#/lib#g" "${pkgdir}"/usr/share/vulkan/icd.d/amd_icd64.json
sed -i "s#/lib64#/lib#g" "${pkgdir}"/usr/share/vulkan/implicit_layer.d/amd_icd64.json sed -i "s#/lib64#/lib#g" "${pkgdir}"/usr/share/vulkan/implicit_layer.d/amd_icd64.json