# Maintainer: Christian Hesse 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 -DANTLR4_INSTALL=ON make } package() { cd build make DESTDIR="${pkgdir}/" install }