void-packages/srcpkgs/antlr3-bin/template

21 lines
712 B
Bash

# Template file for 'antlr3-bin'
pkgname=antlr3-bin
version=3.4
revision=1
archs=noarch
build_style=fetch
depends="virtual?java-runtime"
short_desc="Parser generator for C++, C#, Java, and Python"
maintainer="John <johnz@posteo.net>"
license="BSD-3-Clause"
homepage="https://www.antlr3.org/"
distfiles=" https://www.antlr3.org/download/antlr-${version}-complete.jar
https://raw.githubusercontent.com/antlr/antlr3/antlr-${version}/tool/LICENSE.txt"
checksum="9d3e866b610460664522520f73b81777b5626fb0a282a5952b9800b751550bf7
925937da996ba3ad8597be0d7371489bfa5518bfd7e5492ba8de27e319e78a75"
do_install() {
vinstall "antlr-${version}-complete.jar" 644 usr/share/java "${pkgname%-*}.jar"
vlicense LICENSE.txt
}