void-packages/srcpkgs/vkd3d/template
2020-09-22 21:54:29 +02:00

24 lines
711 B
Bash

# Template file for 'vkd3d'
pkgname=vkd3d
version=1.2
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="Vulkan-Headers SPIRV-Headers vulkan-loader"
short_desc="Direct3D 12 to Vulkan translation library"
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
license="LGPL-2.1-or-later"
homepage="https://www.winehq.org"
distfiles="https://dl.winehq.org/vkd3d/source/vkd3d-${version}.tar.xz"
checksum=b04b030fcbf0f2dacc933c76c74b449bffef1fc1a18d50254ef1ad3e380df96b
vkd3d-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}