This repository has been archived on 2024-10-14. You can view files and clone it, but cannot push or open issues or pull requests.
dxvk-bin/PKGBUILD

27 lines
934 B
Bash
Raw Permalink Normal View History

# Maintainer: Jack L. Frost <fbt@fleshless.org>
pkgname='dxvk-bin'
pkgver=1.8
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=('93ec3cdba84d2a0b536374620f13fced5e2283ab'
'4a83b2fbabc7965ffeffdda9b49248867c18e621')