summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2023-12-02 20:35:44 -0800
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2023-12-02 20:35:44 -0800
commita014db4869961cd95b2affbb78db9ef9e0235b98 (patch)
treee297f536454d2e071e8f6b6ba9a260a5060abc9a
parentCovert to modern lto. (diff)
download7kaa-master.tar.xz
Updated to 2.15.6HEADmaster
-rw-r--r--PKGBUILD16
1 files changed, 9 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a86a82b..5cc524f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@
# AUR version uses .ico
pkgname=7kaa
-pkgver=2.15.5
+pkgver=2.15.6
pkgrel=1
pkgdesc='Seven Kingdoms: Ancient Adversaries is a real-time strategy (RTS) computer game developed by Trevor Chan'
url='https://7kfans.com/'
@@ -18,24 +18,26 @@ depends=('openal' 'desktop-file-utils' 'enet' 'gcc-libs' 'sdl2')
optdepends=('7kaa-music: for ingame music')
conflicts=('7kaa-data')
provides=('7kaa-data')
-options=('lto')
-source=("https://github.com/the3dfxdude/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz"
+# # For some reason this breaks compiling. "error: C++ compiler cannot create executables"
+# # But old-fashioned raw injection of -flto=auto via export doesn't.
+#options=(lto)
+source=(https://downloads.sourceforge.net/project/skfans/7KAA%20${pkgver}/${pkgname}-${pkgver}.tar.gz
"${pkgname}.sh"
"${pkgname}.desktop"
"${pkgname}.png")
-md5sums=('b6d12ccf514508e7b8050abb8300a6ae'
+md5sums=('07522a60ad12c0411c48073e6919b5ee'
'78e098c8e8b2467f02da886f8bc431a0'
'880d2760bdb02f8f73552e13f3a1a5a9'
'a44784360325c94b605de06f7154d121')
-b2sums=('3ab52031d7426485c0ccdb3ae93fde37a97c3aa3ce4f1cb686cf57aca149223b7399cca1439a96e6540de31c126c1c91a42f6635428bd6ea9c1874a38a0538b1'
+b2sums=('7ef2926df74f230208c438223d963362b96327c5a8dd002ec32a7af6c2c3ae910f8cbffd2f974b0a0b178b479bc798c8be9a70e99fda93797519f041c9e18aec'
'2309d081f35d0d6bbc4dca75fd52610e39744ed3c9d064be6db72aa4764f4870696b381b1a2eca30d9c9793c8146427a4ec7c8232a781cd90a0d0d49cbfc5016'
'4d997f1db1e1c774f08afef1c0531494ce50bd1320c64591b42fbea1879972237a5a360472926c76f493a833ba987031255fbce8b865ce374f963eae6533109c'
'88bed24690869de354b0f01f3cb7d85d238657d7dce66bb4b1fe9cd3f4e166ed5ad20a60691ab1611b81dd7d86972806e8edc4d2f8dad08d1496918fa97d139e')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- export CFLAGS="$CFLAGS -O3 -fstack-protector-all -fPIE"
- export CXXFLAGS="$CXXFLAGS -O3 -fstack-protector-all -fPIE"
+ export CFLAGS="$CFLAGS -O3 -fstack-protector-all -flto=auto -fPIE"
+ export CXXFLAGS="$CXXFLAGS -O3 -fstack-protector-all -flto=auto -fPIE"
export LDFLAGS="$LDFLAGS,-pie"
./configure
make