diff --git a/srcpkgs/libantlr3c/template b/srcpkgs/libantlr3c/template index 6f69468e557..8303eef7679 100644 --- a/srcpkgs/libantlr3c/template +++ b/srcpkgs/libantlr3c/template @@ -1,19 +1,26 @@ # Template file for 'libantlr3c' pkgname=libantlr3c -version=3.4 +version=3.5.2 revision=1 +wrksrc="antlr3-${version}" +build_wrksrc=runtime/C build_style=gnu-configure +hostmakedepends="automake libtool" short_desc="C runtime for the ANTLR parsing library" maintainer="John " license="BSD-3-Clause" homepage="https://www.antlr.org" -distfiles="https://www.antlr3.org/download/C/${pkgname}-${version}.tar.gz" -checksum="ca914a97f1a2d2f2c8e1fca12d3df65310ff0286d35c48b7ae5f11dcc8b2eb52" +distfiles="https://github.com/antlr/antlr3/archive/${version}.tar.gz" +checksum=a66d12fd5ca052fdd2b0a64b70d0c58db40e6dec72c3f4497934203090d92808 + +pre_configure() { + autoreconf -fi +} case "$XBPS_TARGET_MACHINE" in -x86_64*|aarch64*) - configure_args+=" --enable-64bit" - ;; + x86_64*|aarch64*) + configure_args+=" --enable-64bit" + ;; esac post_install() {