blob: 10c240cd868940326d6f0398791115b6aa0bf08a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Maintainer: AdriĆ Cereto i MassaguĆ© <ssorgatem at gmail.com>
pkgbase=dxvk-bin
pkgname=('dxvk-bin')
pkgver=1.2
pkgrel=0
pkgdesc="A Vulkan-based compatibility layer for Direct3D 10/11 which allows running 3D applications on Linux using Wine (Windows DLL binary files)"
arch=('x86_64' 'i686')
url="https://github.com/doitsujin/dxvk"
license=('zlib/libpng')
options=(!strip)
source=("https://github.com/doitsujin/dxvk/releases/download/v$pkgver/dxvk-$pkgver.tar.gz"
)
sha256sums=("414751a810143ced34d1f4f0eb2a40e79b4c9726318994b244b70d1b3a6f8b32")
package_dxvk-bin () {
arch=('x86_64')
provides=("dxvk")
depends=('vulkan-icd-loader' 'wine>=3.10' 'lib32-vulkan-icd-loader')
conflicts=("dxvk-git" "dxvk-bin<1.0-1" "dxvk-win64-bin<1.0-1" "dxvk-win32-bin<1.0-1" "dxvk-win64-git" "dxvk-win32-bin" "dxvk-win64-bin")
mkdir -p $pkgdir/usr/share/dxvk
tar -xf dxvk-"$pkgver".tar.gz -C "$pkgdir/usr/share/dxvk" --strip-components=1 dxvk-"$pkgver"/
mkdir -p $pkgdir/usr/bin
ln -s /usr/share/dxvk/setup_dxvk.sh "$pkgdir/usr/bin/setup_dxvk"
chmod +x "$pkgdir/usr/share/dxvk/setup_dxvk.sh"
chown -R root:root "$pkgdir/usr/"
}
|