summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
Diffstat (limited to 'extra')
-rw-r--r--extra/amdvlk/PKGBUILD17
1 files changed, 17 insertions, 0 deletions
diff --git a/extra/amdvlk/PKGBUILD b/extra/amdvlk/PKGBUILD
new file mode 100644
index 00000000..8c10a1e1
--- /dev/null
+++ b/extra/amdvlk/PKGBUILD
@@ -0,0 +1,17 @@
+eval "$(
+ declare -f build \
+ | sed '
+ s|-Bbuilds/Release64|-Bbuilds/Release|
+ s|cmake|cmake -DCMAKE_C_FLAGS=-m32 -DCMAKE_CSS_FLAGS=-m32|
+ s|Release64|Release|g
+ '
+)"
+
+eval "$(
+ declare -f package \
+ | sed '
+ s|Release64|Release|g
+ s|amdvlk64.so|amdvlk32.so|g
+ s|amd_icd64.json|amd_icd32.json|
+ '
+)"