void-packages/srcpkgs/bitfighter/template
Đoàn Trần Công Danh ae784f1fc4 bitfighter: remove noarch
2020-11-21 17:38:02 +07:00

28 lines
1,012 B
Bash

# Template file for 'bitfighter'
pkgname=bitfighter
version=019g
revision=2
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"
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
replaces="bitfighter-data>=0"
CXXFLAGS="-Wno-narrowing"
post_install() {
vcopy ../classic_level_pack/* usr/share/bitfighter/levels
}