[arch-commits] Commit in antlr4-runtime/repos/community-x86_64 (PKGBUILD PKGBUILD)

Konstantin Gizdov kgizdov at gemini.archlinux.org
Fri Nov 12 17:40:25 UTC 2021


    Date: Friday, November 12, 2021 @ 17:40:24
  Author: kgizdov
Revision: 1043913

archrelease: copy trunk to community-x86_64

Added:
  antlr4-runtime/repos/community-x86_64/PKGBUILD
    (from rev 1043912, antlr4-runtime/trunk/PKGBUILD)
Deleted:
  antlr4-runtime/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   68 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 35 insertions(+), 33 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-12 17:40:17 UTC (rev 1043912)
+++ PKGBUILD	2021-11-12 17:40:24 UTC (rev 1043913)
@@ -1,33 +0,0 @@
-# Maintainer: Christian Hesse <mail at eworm.de>
-
-pkgname=antlr4-runtime
-pkgver=4.9.3
-pkgrel=1
-pkgdesc='Antlr C++ runtime'
-url='https://www.antlr.org/'
-arch=('x86_64')
-depends=('gcc-libs')
-makedepends=('git' 'cmake')
-license=('BSD')
-source=("https://www.antlr.org/download/antlr4-cpp-runtime-${pkgver}-source.zip")
-sha256sums=('5f0af6efd81f476c3e775c486eb0a71c25d6bbc14373e88a64690e2738d68e03')
-
-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_BUILD_TYPE=Release \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DANTLR4_INSTALL=ON
-  make
-}
-
-package() {
-  cd build
-  make DESTDIR="${pkgdir}/" install
-}

Copied: antlr4-runtime/repos/community-x86_64/PKGBUILD (from rev 1043912, antlr4-runtime/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-12 17:40:24 UTC (rev 1043913)
@@ -0,0 +1,35 @@
+# Maintainer: Christian Hesse <mail at eworm.de>
+
+pkgname=antlr4-runtime
+pkgver=4.9.3
+pkgrel=2
+pkgdesc='Antlr C++ runtime'
+url='https://www.antlr.org/'
+arch=('x86_64')
+depends=('gcc-libs')
+makedepends=('git' 'cmake')
+license=('BSD')
+source=("https://www.antlr.org/download/antlr4-cpp-runtime-${pkgver}-source.zip")
+sha256sums=('5f0af6efd81f476c3e775c486eb0a71c25d6bbc14373e88a64690e2738d68e03')
+# seems like there is no simple way of dropping the static lib
+options=(staticlibs)
+
+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_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DANTLR4_INSTALL=ON
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}/" install
+}



More information about the arch-commits mailing list