[arch-commits] Commit in antlr4-runtime/trunk (PKGBUILD)

Christian Hesse eworm at archlinux.org
Thu Jan 21 07:26:08 UTC 2021


    Date: Thursday, January 21, 2021 @ 07:26:08
  Author: eworm
Revision: 824092

upgpkg: antlr4-runtime 4.9.1-2: new upstream release

Modified:
  antlr4-runtime/trunk/PKGBUILD

----------+
 PKGBUILD |   17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-01-21 07:25:39 UTC (rev 824091)
+++ PKGBUILD	2021-01-21 07:26:08 UTC (rev 824092)
@@ -1,21 +1,28 @@
 # Maintainer: Christian Hesse <mail at eworm.de>
 
 pkgname=antlr4-runtime
-pkgver=4.8
-pkgrel=1
+pkgver=4.9.1
+pkgrel=2
 pkgdesc='Antlr C++ runtime'
 url='https://www.antlr.org/'
 arch=('x86_64')
 depends=('gcc-libs')
+makedepends=('git' 'cmake')
 license=('BSD')
-makedepends=('cmake')
 source=("https://www.antlr.org/download/antlr4-cpp-runtime-${pkgver}-source.zip")
-sha256sums=('58c9c8f83ed2b2224a047a2ca8af8c7ca2f45bc13ff30bd8777ce65ba81d6d11')
+sha256sums=('21647f9d5c55d13f2297e3f61e5dd68283e439983c27bd899f9c8a725bbea7b5')
 
+prepare() {
+  # mysql-workbench is built with C++17, so we need it here as well
+  sed -i '/CMAKE_CXX_STANDARD/s/11/17/' CMakeLists.txt
+}
+
 build() {
   mkdir build
   cd build
-  cmake .. -DCMAKE_INSTALL_PREFIX=/usr
+  cmake .. \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr
   make
 }
 



More information about the arch-commits mailing list