void-packages/srcpkgs/7kaa/template

33 lines
1.0 KiB
Bash

# Template file for '7kaa'
pkgname=7kaa
version=2.15.4p1
revision=1
_v_7kaa_music=${version%.*}
build_style=gnu-configure
hostmakedepends="autoconf automake gettext-devel pkg-config tar"
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"
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-${_v_7kaa_music}.tar.bz2"
checksum="f0265c077025d77b435f1c10b8ba178bdb16329e51ab735330ebaa71a104fbf8
b0d767b6e25719a14f5f34a93744a8022d7bc24af66275bee54dfc788695c1c3"
pre_configure() {
autoreconf -vfi
}
7kaa-data_package() {
archs=noarch
short_desc+=" - data files"
license="MIT"
pkg_install() {
vmove usr/share/7kaa
vcopy ../7kaa-music/MUSIC usr/share/7kaa
vlicense ../7kaa-music/COPYING-Music.txt
}
}