void-packages/srcpkgs/vkQuake/template

27 lines
809 B
Bash

# Template file for 'vkQuake'
pkgname=vkQuake
version=1.20.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=7ff480c00513ac7a9c47864c5296d487444bc5b35a4c6c39affc3a5601888339
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
}