summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Grande2020-10-06 11:05:15 -0400
committerVincent Grande2020-10-06 11:05:15 -0400
commit99c35dec94513d10f445116726397814e62551a8 (patch)
tree53ab1b9a0b829c9412d74af4cff08e94c26a1684
parent16f58c43b94a0f95de49f002080688feaaabf710 (diff)
downloadaur-99c35dec94513d10f445116726397814e62551a8.tar.gz
add install file
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD1
-rw-r--r--dxvk-mingw-proton-ge-async-git.install25
3 files changed, 27 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 27eb49ef4d96..269ee42dbeb2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,6 +3,7 @@ pkgbase = dxvk-mingw-proton-ge-async-git
pkgver = 1.5.r3.ga265af74
pkgrel = 1
url = https://github.com/doitsujin/dxvk
+ install = dxvk-mingw-proton-ge-async-git.install
arch = x86_64
license = zlib/libpng
makedepends = ninja
diff --git a/PKGBUILD b/PKGBUILD
index 8cf9f0b6cdae..6f56a306905b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -34,6 +34,7 @@ source=("git+https://github.com/doitsujin/dxvk.git"
sha256sums=("SKIP"
"SKIP"
"SKIP")
+install=$pkgname.install
pkgver() {
cd dxvk
diff --git a/dxvk-mingw-proton-ge-async-git.install b/dxvk-mingw-proton-ge-async-git.install
new file mode 100644
index 000000000000..5df0111fb4de
--- /dev/null
+++ b/dxvk-mingw-proton-ge-async-git.install
@@ -0,0 +1,25 @@
+pre_remove() {
+
+ rm -rf /usr/share/steam/compatibilitytools.d/proton-ge-custom/dist/lib/wine/dxvk/d3d*
+ rm -rf /usr/share/steam/compatibilitytools.d/proton-ge-custom/dist/lib/wine/dxvk/dxg*
+
+
+ rm -rf /usr/share/steam/compatibilitytools.d/proton-ge-custom-stable/dist/lib/wine/dxvk/d3d*
+ rm -rf /usr/share/steam/compatibilitytools.d/proton-ge-custom-stable/dist/lib/wine/dxvk/dxg*
+
+
+ rm -rf /usr/share/steam/compatibilitytools.d/proton-ge-custom-legacy/dist/lib/wine/dxvk/d3d*
+ rm -rf /usr/share/steam/compatibilitytools.d/proton-ge-custom-legacy/dist/lib/wine/dxvk/dxg*
+
+ rm -rf /usr/share/steam/compatibilitytools.d/proton-ge-custom/dist/lib64/wine/dxvk/d3d*
+ rm -rf /usr/share/steam/compatibilitytools.d/proton-ge-custom/dist/lib64/wine/dxvk/dxg*
+
+
+ rm -rf /usr/share/steam/compatibilitytools.d/proton-ge-custom-stable/dist/lib64/wine/dxvk/d3d*
+ rm -rf /usr/share/steam/compatibilitytools.d/proton-ge-custom-stable/dist/lib64/wine/dxvk/dxg*
+
+
+ rm -rf /usr/share/steam/compatibilitytools.d/proton-ge-custom-legacy/dist/lib64/wine/dxvk/d3d*
+ rm -rf /usr/share/steam/compatibilitytools.d/proton-ge-custom-legacy/dist/lib64/wine/dxvk/dxg*
+
+}