[arch-commits] Commit in antlr4-runtime/repos/community-x86_64 (PKGBUILD PKGBUILD)
Christian Hesse
eworm at archlinux.org
Thu Jan 21 07:26:11 UTC 2021
Date: Thursday, January 21, 2021 @ 07:26:10
Author: eworm
Revision: 824093
archrelease: copy trunk to community-x86_64
Added:
antlr4-runtime/repos/community-x86_64/PKGBUILD
(from rev 824092, antlr4-runtime/trunk/PKGBUILD)
Deleted:
antlr4-runtime/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 57 ++++++++++++++++++++++++++++++++-------------------------
1 file changed, 32 insertions(+), 25 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-01-21 07:26:08 UTC (rev 824092)
+++ PKGBUILD 2021-01-21 07:26:10 UTC (rev 824093)
@@ -1,25 +0,0 @@
-# Maintainer: Christian Hesse <mail at eworm.de>
-
-pkgname=antlr4-runtime
-pkgver=4.8
-pkgrel=1
-pkgdesc='Antlr C++ runtime'
-url='https://www.antlr.org/'
-arch=('x86_64')
-depends=('gcc-libs')
-license=('BSD')
-makedepends=('cmake')
-source=("https://www.antlr.org/download/antlr4-cpp-runtime-${pkgver}-source.zip")
-sha256sums=('58c9c8f83ed2b2224a047a2ca8af8c7ca2f45bc13ff30bd8777ce65ba81d6d11')
-
-build() {
- mkdir build
- cd build
- cmake .. -DCMAKE_INSTALL_PREFIX=/usr
- make
-}
-
-package() {
- cd build
- make DESTDIR="${pkgdir}/" install
-}
Copied: antlr4-runtime/repos/community-x86_64/PKGBUILD (from rev 824092, antlr4-runtime/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-01-21 07:26:10 UTC (rev 824093)
@@ -0,0 +1,32 @@
+# Maintainer: Christian Hesse <mail at eworm.de>
+
+pkgname=antlr4-runtime
+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')
+source=("https://www.antlr.org/download/antlr4-cpp-runtime-${pkgver}-source.zip")
+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_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}/" install
+}
More information about the arch-commits
mailing list