summaryrefslogtreecommitdiff
path: root/PKGBUILD
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2024-09-05 12:18:44 -0700
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2024-09-05 12:18:44 -0700
commit4b33fa350e8fde3ea8e324b6a4c17b3f3be469fc (patch)
treed1cf242c567d6e72e26720cfa8619abc0d77c3e2 /PKGBUILD
parentUpdated to 0.5.0.1 (diff)
downloadfreeorion-4b33fa350e8fde3ea8e324b6a4c17b3f3be469fc.tar.xz
Rebuild for boost 1.86
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD20
1 files changed, 16 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index f949d08..cc1dcee 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@
_isaarch64=0
pkgname=freeorion
pkgver=0.5.0.1
-pkgrel=1
+pkgrel=2
pkgdesc='A turn-based space empire and galactic conquest game'
url='https://www.freeorion.org'
arch=('x86_64' 'i686' 'aarch64')
@@ -30,9 +30,21 @@ makedepends=(
'boost'
)
conflicts=('freeorion-git' 'freeorion-bin')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/freeorion/freeorion/archive/v${pkgver}.tar.gz")
-sha512sums=('1c772b10e0f92d80b005fdb626d004cedb7039a8d1a75c85c8c97ad31fb315ce23b070a110036cfa98b6305a67b936b34fedd251e22e965b7067055c7d9b77e0')
-b2sums=('855ee3d6aa6b3cb181c4c0575fe12cf7627f03c1a0d02d40e111d4a6bae3da78be9c44776070837faaf2edda19f2f128b57d61de53407196187279e67e0d9f3c')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/freeorion/freeorion/archive/v${pkgver}.tar.gz"
+ boost-1.85.patch
+ boost-1.86.patch)
+sha512sums=('1c772b10e0f92d80b005fdb626d004cedb7039a8d1a75c85c8c97ad31fb315ce23b070a110036cfa98b6305a67b936b34fedd251e22e965b7067055c7d9b77e0'
+ 'f72fedd390849f1924f135b063e9e0e18de7a021b6c86cdf82476c0025b62a769596c4165e1df0de003ba4d6375dfc507da76356e04e89afd3226aebbbd02f34'
+ 'f19c455c04965e48da916dc41d4870a2bf05da0e5a94fe8c4cf0376812382a8410a1a4de8760807ede78c3485fecd3a04c4879bf246b9b88be58e749bd5071b8')
+b2sums=('855ee3d6aa6b3cb181c4c0575fe12cf7627f03c1a0d02d40e111d4a6bae3da78be9c44776070837faaf2edda19f2f128b57d61de53407196187279e67e0d9f3c'
+ 'a332597a766a6965d5b1abff734beb944d443d5f1971d199fda6d75a5b0bc2c8ef3b7a0f961c4290a7e0dc14248152abcf93d1941d2451db21dd1191eff399b9'
+ '47008e31a9b35cbc28a3f6a3b606bc8aa3d6096ac3e1339aec39e6e27c7d99e4c0fd3a8eb997f9276b02218d1cb0d0cd0ef2edbaf1e0f0a71430e0110a991d84')
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -p1 -i ../boost-1.85.patch # Fix build with boost 1.85
+ patch -p1 -i ../boost-1.86.patch # Fix build with boost 1.86
+}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"