void-packages/srcpkgs/7kaa/template
Đoàn Trần Công Danh 18f88776e4 7kaa: drop noarch
2020-10-09 21:16:30 +07:00

30 lines
931 B
Bash

# Template file for '7kaa'
pkgname=7kaa
version=2.15.4p1
revision=2
_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"
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"
replaces="7kaa-data>=0"
post_extract() {
mv ../7kaa-music .
}
pre_configure() {
autoreconf -vfi
}
post_install() {
vcopy 7kaa-music/MUSIC usr/share/7kaa
vlicense 7kaa-music/COPYING-Music.txt
}