[skip-ci] antlr4-runtime: added as a dependency for mysql-workbench

This commit is contained in:
Francesco Marinucci 2019-01-24 17:57:20 +01:00
parent 1adcef811b
commit b56a6b192f

23
antlr4-runtime/PKGBUILD Normal file
View File

@ -0,0 +1,23 @@
pkgname=antlr4-runtime
pkgver=4.7.2
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=('8631a39116684638168663d295a969ad544cead3e6089605a44fea34ec01f31a')
build() {
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd build
make DESTDIR="${pkgdir}/" install
}