wesnoth: split data into a -data subpkg (noarch).

This commit is contained in:
Juan RP 2015-12-09 09:18:01 +01:00
parent 511049b055
commit abdb7547ec
2 changed files with 10 additions and 3 deletions

1
srcpkgs/wesnoth-data Symbolic link
View file

@ -0,0 +1 @@
wesnoth

View file

@ -1,13 +1,12 @@
# Template file for 'wesnoth'
pkgname=wesnoth
version=1.12.5
revision=1
#wrksrc="${pkgname}-${version}.0"
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="desktop-file-utils"
depends="wesnoth-data desktop-file-utils"
short_desc="Turn-based fantasy strategy game"
maintainer="Philipp Hirsch <itself@hanspolo.net>"
license="GPL-2"
@ -19,3 +18,10 @@ post_install() {
# runit service
vsv wesnothd
}
wesnoth-data_package() {
noarch=yes
pkg_install() {
vmove usr/share/$pkgname
}
}