sauerbraten: adjust conf_files and descriptions

Closes: #5633 [via git-merge-pr]
This commit is contained in:
Michael Aldridge 2017-01-28 23:08:36 -06:00 committed by Toyam Cox
parent aa51c2743d
commit f2f20a8841
1 changed files with 6 additions and 7 deletions

View File

@ -1,11 +1,10 @@
# Template file for 'sauerbraten'
pkgname=sauerbraten
version=2013.02.03
revision=1
revision=2
wrksrc=$pkgname
build_wrksrc=src
build_style=gnu-makefile
conf_files="/etc/sauerbraten/server-init.cfg"
makedepends="SDL_image-devel SDL_mixer-devel zlib-devel"
depends="${pkgname}-data-${version}_${revision}"
short_desc="3D game engine (more powerful redesign of the Cube engine) and FPS game"
@ -15,12 +14,9 @@ homepage="http://sauerbraten.org"
distfiles="${SOURCEFORGE_SITE}/sauerbraten/sauerbraten_${version//./_}_collect_edition_linux.tar.bz2"
checksum=45c20521e3e56374490b2d9112a211538e801cf0161197f35476b30b7b58a78e
# Too big to store on current mirror infrastructure, and not a high
# priority package
restricted=yes
restricted="Very large - not worth storing on current Void infrastructure"
# Its only supported to build on i686 and x86_64, and enet doesn't
# cross compile
# Build is only supported on i686 and x86_64, and enet doesn't cross compile
only_for_archs="x86_64"
@ -31,6 +27,7 @@ post_install() {
sauerbraten-data_package() {
noarch=yes
short_desc+=" - data files"
pkg_install() {
vmkdir usr/share/$sourcepkg
vcopy $wrksrc/data usr/share/$sourcepkg/data
@ -39,6 +36,8 @@ sauerbraten-data_package() {
}
sauerbraten-server_package() {
conf_files="/etc/sauerbraten/server-init.cfg"
short_desc+=" - standalone server"
pkg_install() {
vbin $wrksrc/bin_unix/native_server sauer_server
vmkdir etc/$sourcepkg