[arch-commits] Commit in antlr4-runtime/repos (2 files)

Christian Hesse eworm at archlinux.org
Tue Jan 19 21:18:49 UTC 2021


    Date: Tuesday, January 19, 2021 @ 21:18:47
  Author: eworm
Revision: 823900

archrelease: copy trunk to community-staging-x86_64

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

----------+
 PKGBUILD |   27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

Copied: antlr4-runtime/repos/community-staging-x86_64/PKGBUILD (from rev 823899, antlr4-runtime/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-01-19 21:18:47 UTC (rev 823900)
@@ -0,0 +1,27 @@
+# Maintainer: Christian Hesse <mail at eworm.de>
+
+pkgname=antlr4-runtime
+pkgver=4.9.1
+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=('21647f9d5c55d13f2297e3f61e5dd68283e439983c27bd899f9c8a725bbea7b5')
+
+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