diff --git a/srcpkgs/amdvlk/template b/srcpkgs/amdvlk/template index 38d8610f75e..63f0d767104 100644 --- a/srcpkgs/amdvlk/template +++ b/srcpkgs/amdvlk/template @@ -64,17 +64,10 @@ pre_configure() { } do_install() { - case $XBPS_TARGET_MACHINE in - i686*|mips*|arm*|ppc|ppc-musl) - vinstall build/icd/amdvlk32.so 644 usr/lib/ - vinstall ${wrksrc}/AMDVLK/json/Redhat/amd_icd32.json 644 usr/share/vulkan/icd.d/ - vsed -i ${DESTDIR}/usr/share/vulkan/icd.d/amd_icd32.json -e 's#/usr/lib/#/usr/lib32/#g' - ;; - *) - vinstall build/icd/amdvlk64.so 644 usr/lib/ - vinstall ${wrksrc}/AMDVLK/json/Redhat/amd_icd64.json 644 usr/share/vulkan/icd.d/ - vsed -i ${DESTDIR}/usr/share/vulkan/icd.d/amd_icd64.json -e 's#/usr/lib64/#/usr/lib/#g' - ;; - esac + vinstall build/icd/amdvlk${XBPS_TARGET_WORDSIZE}.so 644 usr/lib/ + vinstall ${wrksrc}/AMDVLK/json/Redhat/amd_icd${XBPS_TARGET_WORDSIZE}.json \ + 644 usr/share/vulkan/icd.d/ + vsed -i ${DESTDIR}/usr/share/vulkan/icd.d/amd_icd${XBPS_TARGET_WORDSIZE}.json \ + -e "s#/usr/lib/#/usr/lib${XBPS_TARGET_WORDSIZE}/#g" vlicense ${wrksrc}/AMDVLK/LICENSE.txt }