void-packages/srcpkgs/wesnoth/template

28 lines
803 B
Bash

# Template file for 'wesnoth'
pkgname=wesnoth
version=1.12.5
revision=2
build_style=cmake
configure_args="-DENABLE_OMP=1"
hostmakedepends="cmake pkg-config"
makedepends="dbus-devel libgomp-devel fribidi-devel SDL_image-devel SDL_net-devel SDL_ttf-devel SDL_mixer-devel pango-devel libvorbis-devel zlib-devel bzip2-devel boost-devel"
depends="wesnoth-data desktop-file-utils"
short_desc="Turn-based fantasy strategy game"
maintainer="Philipp Hirsch <itself@hanspolo.net>"
license="GPL-2"
homepage="https://wesnoth.org/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=599aad40da4b271c5138ac5a4391d9ff9c367ee51f5c30ca138f6baf92aea81d
post_install() {
# runit service
vsv wesnothd
}
wesnoth-data_package() {
noarch=yes
pkg_install() {
vmove usr/share/wesnoth
}
}