mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-11 09:33:50 +02:00
wesnoth: split data into a -data subpkg (noarch).
This commit is contained in:
parent
511049b055
commit
abdb7547ec
2 changed files with 10 additions and 3 deletions
1
srcpkgs/wesnoth-data
Symbolic link
1
srcpkgs/wesnoth-data
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
wesnoth
|
|
@ -1,13 +1,12 @@
|
||||||
# Template file for 'wesnoth'
|
# Template file for 'wesnoth'
|
||||||
pkgname=wesnoth
|
pkgname=wesnoth
|
||||||
version=1.12.5
|
version=1.12.5
|
||||||
revision=1
|
revision=2
|
||||||
#wrksrc="${pkgname}-${version}.0"
|
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DENABLE_OMP=1"
|
configure_args="-DENABLE_OMP=1"
|
||||||
hostmakedepends="cmake pkg-config"
|
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"
|
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"
|
short_desc="Turn-based fantasy strategy game"
|
||||||
maintainer="Philipp Hirsch <itself@hanspolo.net>"
|
maintainer="Philipp Hirsch <itself@hanspolo.net>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
|
@ -19,3 +18,10 @@ post_install() {
|
||||||
# runit service
|
# runit service
|
||||||
vsv wesnothd
|
vsv wesnothd
|
||||||
}
|
}
|
||||||
|
|
||||||
|
wesnoth-data_package() {
|
||||||
|
noarch=yes
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/share/$pkgname
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue