27 lines
936 B
Bash
27 lines
936 B
Bash
# Maintainer: Jack L. Frost <fbt@fleshless.org>
|
|
pkgname='dxvk-bin'
|
|
pkgver=1.4.5
|
|
pkgrel=1
|
|
pkgdesc='Vulkan-based D3D11 and D3D10 implementation for Linux / Wine'
|
|
arch=( 'x86_64' )
|
|
url='https://github.com/doitsujin/dxvk'
|
|
license=( 'custom' )
|
|
depends=( 'vulkan-icd-loader' 'lib32-vulkan-icd-loader' 'wine' )
|
|
source=( "https://github.com/doitsujin/dxvk/releases/download/v${pkgver}/dxvk-${pkgver}.tar.gz"
|
|
'LICENSE' )
|
|
|
|
package() {
|
|
mkdir -pm755 "$pkgdir/usr/share/dxvk"
|
|
tar -xf "dxvk-$pkgver.tar.gz" -C "$pkgdir/usr/share/dxvk" --strip-components=1
|
|
|
|
mkdir -pm755 "$pkgdir/usr/bin"
|
|
ln -s /usr/share/dxvk/setup_dxvk.sh "$pkgdir/usr/bin/setup_dxvk"
|
|
|
|
mkdir -pm755 "$pkgdir/usr/share/licenses/${pkgname}"
|
|
cp LICENSE "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
|
|
chmod 644 "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
|
|
}
|
|
|
|
sha1sums=('9ed8d6185e9ffc36864b40064bcce65f74fcbefc'
|
|
'4a83b2fbabc7965ffeffdda9b49248867c18e621')
|