void-packages/srcpkgs/vkQuake/template

27 lines
809 B
Bash

# Template file for 'vkQuake'
pkgname=vkQuake
version=1.22.3
revision=1
build_wrksrc="Quake"
build_style=gnu-makefile
make_build_args="DO_USERDIRS=1"
make_use_env=yes
makedepends="SDL2-devel libvorbis-devel libmad-devel Vulkan-Headers vulkan-loader"
short_desc="Vulkan Quake port based on QuakeSpasm"
maintainer="Andrew J. Hesford <ajh@sideband.org>"
license="GPL-2.0-or-later"
homepage="https://github.com/Novum/vkQuake"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=1e0bcf9bb82a2c514f1474fa74ef1d63502c780331e44634e31a5b5902be8a85
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"
LDFLAGS+=" -latomic"
fi
do_install() {
vbin vkquake
vinstall ../Misc/vkQuake_512.png 644 usr/share/pixmaps vkquake.png
vinstall ${FILESDIR}/vkquake.desktop 644 usr/share/applications
}