27 lines
809 B
Bash
27 lines
809 B
Bash
# Template file for 'vkQuake'
|
|
pkgname=vkQuake
|
|
version=1.20.2
|
|
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=d2ce37a4991cd1e59915d40055a86af73c934d7c43dfabeb94d3fd568b73131a
|
|
|
|
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
|
|
}
|