36 lines
1.0 KiB
Bash
36 lines
1.0 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="Orphaned <orphan@voidlinux.eu>"
|
|
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
|
|
}
|
|
}
|