1 # Contributor: Mathieu Clabaut <mathieu.clabaut@gmail.com>
2 # Contributor: Artyom Smirnov <smirnoffjr@gmail.com>
3 # Contributor: Alexis Robert <alexis.robert@gmail.com>
8 pkgdesc="C runtime for the ANTLR parsing library"
9 url="http://www.antlr.org/"
10 arch=("i686" "x86_64")
14 source=(http://www.antlr.org/download/C/${pkgname}-${pkgver}.tar.gz)
15 md5sums=('674646e1d1bf5c6015435480cead725a')
19 cd "${srcdir}/${pkgname}-${pkgver}"
21 if [ "$CARCH" = "x86_64" ]; then
22 _cfgopt=--enable-64bit
24 ./configure --prefix=/usr --sysconfdir=/etc ${_cfgopt} || return 1
26 make install DESTDIR="${pkgdir}" || return 1