addpkg: vkd3d-proton-mingw

This commit is contained in:
MedzikUser 2022-05-19 16:06:12 +02:00
parent e813404f05
commit ea0f2a19c6
No known key found for this signature in database
GPG Key ID: A5FAC1E185C112DB
2 changed files with 8 additions and 5 deletions

View File

@ -38,11 +38,12 @@ patches() {
if [ "${BUILD_ARCH}" = "x86-64-v3" ] if [ "${BUILD_ARCH}" = "x86-64-v3" ]
then then
if [[ "${pkgname}" = "proton"* || "${pkgname}" = "dxvk-mingw" ]] case "${pkgname}" in
then "proton"* | "dxvk-mingw" | "vkd3d-proton-mingw")
echo "[i] march patch" echo "[i] march patch"
sed -i 's|-march=nocona -mtune=core-avx2|-march=x86-64-v3|g' PKGBUILD sed -i 's|-march=nocona -mtune=core-avx2|-march=x86-64-v3|g' PKGBUILD
fi ;;
esac
fi fi
} }

View File

@ -0,0 +1,2 @@
AUR_NAME="vkd3d-proton-mingw"
AUR_UPDATED="1646473920"