void-packages/srcpkgs/wesnoth/template
2019-04-17 22:51:28 +02:00

29 lines
841 B
Bash

# Template file for 'wesnoth'
pkgname=wesnoth
version=1.14.7
revision=1
build_style=cmake
configure_args="-DENABLE_OMP=1"
hostmakedepends="pkg-config"
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 libressl-devel SDL2-devel"
depends="wesnoth-data desktop-file-utils"
short_desc="Turn-based fantasy strategy game"
maintainer="Philipp Hirsch <itself@hanspolo.net>"
license="GPL-2.0-or-later"
homepage="https://wesnoth.org"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=475e6ce3720edf76cfc3a9b9ac015067d473a46d164dcc4406b3c8f7d8dc5e48
post_install() {
# runit service
vsv wesnothd
}
wesnoth-data_package() {
archs=noarch
pkg_install() {
vmove usr/share/wesnoth
}
}