parent
477eef22f8
commit
f819b18960
3 changed files with 34 additions and 0 deletions
1
srcpkgs/7kaa-data
Symbolic link
1
srcpkgs/7kaa-data
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
7kaa
|
3
srcpkgs/7kaa/INSTALL.msg
Normal file
3
srcpkgs/7kaa/INSTALL.msg
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
The game data folder is set by the environment variable SKDATA.
|
||||||
|
Set this variable to /usr/share/7kaa, ie:
|
||||||
|
$ SKDATA=/usr/share/7kaa 7kaa
|
30
srcpkgs/7kaa/template
Normal file
30
srcpkgs/7kaa/template
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
# Template file for '7kaa'
|
||||||
|
pkgname=7kaa
|
||||||
|
version=2.15.0
|
||||||
|
revision=1
|
||||||
|
build_style=gnu-configure
|
||||||
|
hostmakedepends="autoconf automake gettext-devel pkg-config"
|
||||||
|
makedepends="libcurl-devel libenet-devel libopenal-devel SDL2-devel"
|
||||||
|
depends="${pkgname}-data-${version}_${revision}"
|
||||||
|
short_desc="Seven Kingdoms: Ancient Adversaries"
|
||||||
|
maintainer="travankor <travankor@tuta.io>"
|
||||||
|
license="GPL-2.0-or-later, MIT"
|
||||||
|
homepage="https://7kfans.com/"
|
||||||
|
distfiles="https://github.com/the3dfxdude/7kaa/releases/download/v${version}/${pkgname}-${version}.tar.xz
|
||||||
|
https://www.7kfans.com/downloads/${pkgname}-music.tar.bz2"
|
||||||
|
checksum="c24a4814e996f8377ea7612dcf9cd86b9989fcf7066db376416bbaf5850e5167
|
||||||
|
d2dc74005c628de31577fe773d2db253698e2d7a91f48e81ea092330a84f8a86"
|
||||||
|
|
||||||
|
pre_configure() {
|
||||||
|
autoreconf -i
|
||||||
|
}
|
||||||
|
|
||||||
|
7kaa-data_package() {
|
||||||
|
noarch=yes
|
||||||
|
short_desc+=" - data files"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/share/7kaa
|
||||||
|
vcopy ../7kaa-music/music usr/share/7kaa
|
||||||
|
vlicense ../7kaa-music/COPYING-Music.txt
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue