void-packages/srcpkgs/wesnoth/template

28 lines
893 B
Bash

# Template file for 'wesnoth'
pkgname=wesnoth
version=1.18.0
revision=1
build_style=cmake
configure_args="-DENABLE_OMP=1"
hostmakedepends="pkg-config gettext"
makedepends="dbus-devel libgomp-devel fribidi-devel SDL2_image-devel
SDL2_net-devel SDL2_ttf-devel SDL2_mixer-devel pango-devel libvorbis-devel
zlib-devel bzip2-devel boost-devel openssl-devel SDL2-devel libcurl-devel"
depends="desktop-file-utils"
short_desc="Turn-based fantasy strategy game"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://wesnoth.org"
changelog="https://github.com/wesnoth/wesnoth/raw/master/changelog.md"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=2cdc75b97c3437e6490f1982c7938e87d5dcbe29ca8aed32a8d13b25e06939c0
replaces="wesnoth-data>=0"
CFLAGS="-UNDEBUG"
CXXFLAGS="-UNDEBUG"
post_install() {
# runit service
vsv wesnothd
}