void-packages/srcpkgs/vkd3d/template

25 lines
716 B
Bash

# Template file for 'vkd3d'
pkgname=vkd3d
version=1.3
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config flex"
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=134b347806d34a4d2b39ea29ff1c2b38443793803a3adc50800855bb929fb8b2
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"
}
}