28 lines
803 B
Bash
28 lines
803 B
Bash
# Template file for 'wesnoth'
|
|
pkgname=wesnoth
|
|
version=1.12.6
|
|
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=a50f384cead15f68f31cfa1a311e76a12098428702cb674d3521eb169eb92e4e
|
|
|
|
post_install() {
|
|
# runit service
|
|
vsv wesnothd
|
|
}
|
|
|
|
wesnoth-data_package() {
|
|
noarch=yes
|
|
pkg_install() {
|
|
vmove usr/share/wesnoth
|
|
}
|
|
}
|