Browse Source

[Arch] Fix DXVK & VKD3D Proton path references

master
Pekka Helenius 2 years ago
parent
commit
6b437a46a4
2 changed files with 16 additions and 6 deletions
  1. +7
    -2
      arch/0-dxvk-git/PKGBUILD
  2. +9
    -4
      arch/0-vkd3d-proton-git/PKGBUILD

+ 7
- 2
arch/0-dxvk-git/PKGBUILD View File

@ -102,8 +102,13 @@ package() {
mkdir -p "${pkgdir}"/usr/{bin,share/dxvk} mkdir -p "${pkgdir}"/usr/{bin,share/dxvk}
cp -r "${srcdir}"/build/${_pkgname}-${pkgver}/* "${pkgdir}/usr/share/dxvk/" cp -r "${srcdir}"/build/${_pkgname}-${pkgver}/* "${pkgdir}/usr/share/dxvk/"
echo -e "#!/bin/sh\n/usr/share/dxvk/setup_dxvk.sh \${@}" \
> "${pkgdir}/usr/bin/setup_dxvk"
echo -e "#!/bin/sh" > "${pkgdir}/usr/bin/setup_dxvk"
echo -e "
export dxvk_lib32=/usr/share/dxvk/x32/
export dxvk_lib64=/usr/share/dxvk/x64/
/usr/share/dxvk/setup_dxvk.sh \${@}
" >> "${pkgdir}/usr/bin/setup_dxvk"
chmod +x "${pkgdir}/usr/bin/setup_dxvk" chmod +x "${pkgdir}/usr/bin/setup_dxvk"
} }

+ 9
- 4
arch/0-vkd3d-proton-git/PKGBUILD View File

@ -88,11 +88,16 @@ build() {
# Bundle the compiled files # Bundle the compiled files
package() { package() {
mkdir -p "${pkgdir}"/usr/{bin,share/vkd3d}
cp -r "${srcdir}"/build/${_pkgname}-${pkgver}/* "${pkgdir}/usr/share/vkd3d/"
mkdir -p "${pkgdir}"/usr/{bin,share/vkd3d_proton}
cp -r "${srcdir}"/build/${_pkgname}-${pkgver}/* "${pkgdir}/usr/share/vkd3d_proton/"
echo -e "#!/bin/sh\n/usr/share/dxvk/setup_vkd3d_proton.sh \${@}" \
> "${pkgdir}/usr/bin/setup_vkd3d_proton"
echo -e "#!/bin/sh" > "${pkgdir}/usr/bin/setup_vkd3d_proton"
echo -e "
export vkd3d_lib32=/usr/share/vkd3d/x86/
export vkd3d_lib64=/usr/share/vkd3d/x64/
/usr/share/vkd3d_proton/setup_vkd3d_proton.sh \${@}
" >> "${pkgdir}/usr/bin/setup_vkd3d_proton"
chmod +x "${pkgdir}/usr/bin/setup_vkd3d_proton" chmod +x "${pkgdir}/usr/bin/setup_vkd3d_proton"
} }

Loading…
Cancel
Save