void-packages/srcpkgs/7kaa/template

31 lines
967 B
Bash
Raw Normal View History

2018-12-06 01:31:56 +01:00
# Template file for '7kaa'
pkgname=7kaa
2019-01-15 21:18:02 +01:00
version=2.15.1
2018-12-06 01:31:56 +01:00
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"
2019-01-15 21:18:02 +01:00
checksum="84e783cbbf50a34f556f565296aacbdbd5333be289ab4ba1e53ed6e735b67059
2018-12-06 01:31:56 +01:00
d2dc74005c628de31577fe773d2db253698e2d7a91f48e81ea092330a84f8a86"
pre_configure() {
autoreconf -i
}
7kaa-data_package() {
archs=noarch
2018-12-06 01:31:56 +01:00
short_desc+=" - data files"
pkg_install() {
vmove usr/share/7kaa
vcopy ../7kaa-music/music usr/share/7kaa
vlicense ../7kaa-music/COPYING-Music.txt
}
}