31 lines
1.0 KiB
Bash
31 lines
1.0 KiB
Bash
# Template file for 'bitfighter'
|
|
pkgname=bitfighter
|
|
version=022
|
|
revision=2
|
|
create_wrksrc=yes
|
|
build_wrksrc="${pkgname}-${version}"
|
|
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="libmpg123"
|
|
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="b853c9c4f15e88f13dea601f6bf224a40b96a3309a73064955233d03c5ca835f
|
|
d628a2b0af024a965b92877f321f2174d6309b7ce9236775af3bd86a67fcc72b"
|
|
python_version=3
|
|
replaces="bitfighter-data>=0"
|
|
|
|
CXXFLAGS="-Wno-narrowing"
|
|
|
|
post_install() {
|
|
vcopy ../classic_level_pack/* usr/share/bitfighter/levels
|
|
}
|