void-packages/srcpkgs/bitfighter/template
cr6git 8aa4e9e370
New package: bitfighter-0.19f
Closes: #12322 [via git-merge-pr]
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2018-04-07 00:39:20 +02:00

35 lines
1 KiB
Bash

# Template file for 'bitfighter'
pkgname=bitfighter
version=0.19f
revision=1
wrksrc="${pkgname}-${version/./}"
build_style=cmake
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"
depends="desktop-file-utils libmpg123 bitfighter-data"
short_desc="Fast-paced team-based outer-space multi-player arcade game"
maintainer="cr6git <quark6@protonmail.com>"
homepage="https://bitfighter.org/"
license="GPL-2"
distfiles="
http://bitfighter.org/files/${pkgname}-${version/./}.tar.gz
http://bitfighter.org/files/classic_level_pack.zip"
checksum="
3ca8dd7fc26febc1f7705da3c32bf91e7b23a55869bd3138d5b091fe4f006803
d628a2b0af024a965b92877f321f2174d6309b7ce9236775af3bd86a67fcc72b"
CXXFLAGS="-Wno-narrowing"
post_install() {
vcopy ../classic_level_pack/* usr/share/bitfighter/levels
}
bitfighter-data_package() {
short_desc+=" - classic level pack"
noarch=yes
pkg_install() {
vmove usr/share/bitfighter
}
}