[gimp/meson: 572/805] PKGBUILD: Release build. Remove build dir before anything.



commit 92958c37bea575d27b5e1475e5f39e611415cfd4
Author: Félix Piédallu <felix piedallu me>
Date:   Tue Jan 9 12:16:37 2018 +0100

    PKGBUILD: Release build. Remove build dir before anything.

 build/archlinux/PKGBUILD |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/build/archlinux/PKGBUILD b/build/archlinux/PKGBUILD
index 01d7f75..7524e21 100644
--- a/build/archlinux/PKGBUILD
+++ b/build/archlinux/PKGBUILD
@@ -82,6 +82,11 @@ build() {
   mesonOptions=(
     '--prefix=/usr'
     '--sysconfdir=/etc'
+
+    '--buildtype=release'
+    '--strip'
+    '-Db_lto=true'
+
     '-Denable-mp=true'
     '-Denable-console-bin=true'
     # '-Dwith-gimp-remote=true'
@@ -97,6 +102,7 @@ build() {
     '-Dwith-xvfb-run=false'
   )
 
+  rm -rf   "${builddir}"
   meson    "${builddir}" "${srcdir}/${_gitname}" "${mesonOptions[@]}"
   ninja -C "${builddir}"
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]