summaryrefslogtreecommitdiff
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD16
1 files changed, 6 insertions, 10 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5e8d6c1..a772e37 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@
_isaarch64=0
pkgname=freeorion
pkgver=0.4.10.2
-pkgrel=4
+pkgrel=6
pkgdesc='A turn-based space empire and galactic conquest game'
url='https://www.freeorion.org'
arch=('x86_64' 'i686' 'aarch64')
@@ -34,15 +34,6 @@ source=("${pkgname}-${pkgver}.tar.gz::https://github.com/freeorion/freeorion/arc
sha512sums=('13832992efe17fe48615ccdf284d1e9f391c35ed518abd15276992128a02894f4b30c8fe3d950e41935efb823cf834dc430330f0bcc6c9e91f13a3dea9812628')
b2sums=('4f707b5296bdbc05b2b775b62f0393d1770bcf64c48f08d3332fbbb4b78e1bdc3e8111a1e421a8d0f0e03ca7454bba981809b9486d3d803e39faf042f1145059')
-prepare() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- cmake \
- -B build \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release
-}
-
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
@@ -59,6 +50,11 @@ else
export CXXFLAGS="$CXXFLAGS -O3 -fstack-protector-all"
fi
+ cmake \
+ -B build \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release
+
cmake --build build
}