Commit ee2539e1 authored by Francesco Marinucci's avatar Francesco Marinucci

antlr4: added to repository as a dependendcy for mysql-workbench

parent bf972b12
Pipeline #2329 passed with stages
in 2 minutes and 8 seconds
# Maintainer: Guillaume ALAUX <guillaume@archlinux.org>
pkgname=antlr4
_shortname=${pkgname:0:-1}
pkgver=4.7.2
pkgrel=1
pkgdesc='Parser generator for reading, processing, executing, or translating structured text or binary files'
arch=('x86_64')
url='http://www.antlr.org/index.html'
license=('BSD')
depends=('java-environment>=6')
provides=("antlr=${pkgver}")
source=(http://www.antlr.org/download/${_shortname}-${pkgver}-complete.jar
https://raw.githubusercontent.com/${_shortname}/${pkgname}/master/LICENSE.txt
bin_antlr4
bin_grun)
noextract=("${_shortname}-${pkgver}-complete.jar")
sha256sums=('6852386d7975eff29171dae002cc223251510d35f291ae277948f381a7b380b4'
'b1b379fcaf3219593a4c433feb1b35c780bed23fafaae440b1ae2771a9521e3a'
'345697e77b7191e2afe70b223f205a8a7fd18a655e6865f503a764583d9a3dcc'
'81e1536e011762287a095e969784a9f2fbbcc62374ab5fb83e19e01ade20b454')
package() {
cd "${srcdir}"
install -D ${_shortname}-${pkgver}-complete.jar \
"${pkgdir}"/usr/share/java/${_shortname}-${pkgver}-complete.jar
ln -s antlr-${pkgver}-complete.jar "${pkgdir}"/usr/share/java/antlr-complete.jar
install -D bin_antlr4 "${pkgdir}"/usr/bin/antlr4
install -D bin_grun "${pkgdir}"/usr/bin/grun
install -D LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE.txt
}
#!/bin/sh
java -jar /usr/share/java/antlr-complete.jar "$@"
#!/bin/sh
java -cp .:/usr/share/java/antlr-complete.jar org.antlr.v4.gui.TestRig "$@"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment