upgpkg: lib32-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:49 +02:00
parent fdcf198ef8
commit 254558f02a
2 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,7 @@
pkgbase = lib32-amdvlk-2023q3.3 pkgbase = lib32-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=lib32-amdvlk-2023q3.3 pkgname=lib32-amdvlk-2023q3.3
_pkgname=lib32-amdvlk _pkgname=lib32-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"
@ -60,12 +60,12 @@ package() {
install -m755 -d "${pkgdir}"/usr/lib32 install -m755 -d "${pkgdir}"/usr/lib32
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/Release/icd/amdvlk32.so "${pkgdir}"/usr/lib32/ install xgl/builds/Release/icd/amdvlk32.so "${pkgdir}"/usr/lib32/
install xgl/builds/Release/icd/amd_icd32.json "${pkgdir}"/usr/share/vulkan/icd.d/ install xgl/builds/Release/icd/amd_icd32.json "${pkgdir}"/usr/share/vulkan/icd.d/
install xgl/builds/Release/icd/amd_icd32.json "${pkgdir}"/usr/share/vulkan/implicit_layer.d/ install xgl/builds/Release/icd/amd_icd32.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/\/lib/\/lib32/g" "${pkgdir}"/usr/share/vulkan/icd.d/amd_icd32.json sed -i "s/\/lib/\/lib32/g" "${pkgdir}"/usr/share/vulkan/icd.d/amd_icd32.json
sed -i "s/\/lib/\/lib32/g" "${pkgdir}"/usr/share/vulkan/implicit_layer.d/amd_icd32.json sed -i "s/\/lib/\/lib32/g" "${pkgdir}"/usr/share/vulkan/implicit_layer.d/amd_icd32.json