void-packages/srcpkgs/bitfighter/template

36 lines
1.1 KiB
Bash

# Template file for 'bitfighter'
pkgname=bitfighter
version=019g
revision=1
build_style=cmake
configure_args="-DMASTER_MINIMAL=1 -DLUAJIT_BUILTIN=OFF"
hostmakedepends="pkg-config unzip"
makedepends="boost-devel MesaLib-devel SDL2-devel LuaJIT-devel
libopenal-devel libmariadbclient-devel libmodplug-devel
libpng-devel libtomcrypt-devel speex-devel
clipper-devel alure-devel"
depends="desktop-file-utils libmpg123 bitfighter-data"
short_desc="Fast-paced team-based outer-space multi-player arcade game"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://bitfighter.org/"
distfiles="http://bitfighter.org/files/${pkgname}-${version}.tar.gz
http://bitfighter.org/files/classic_level_pack.zip"
checksum="cd47c453d9e6875ded627b987a645e2ff2c757363f394b152f62d868e1d81427
d628a2b0af024a965b92877f321f2174d6309b7ce9236775af3bd86a67fcc72b"
python_version=2 #unverified
CXXFLAGS="-Wno-narrowing"
post_install() {
vcopy ../classic_level_pack/* usr/share/bitfighter/levels
}
bitfighter-data_package() {
short_desc+=" - classic level pack"
archs=noarch
pkg_install() {
vmove usr/share/bitfighter
}
}