summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/antlr2/PKGBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/libre/antlr2/PKGBUILD b/libre/antlr2/PKGBUILD
index a17f070ae..4b69536c8 100644
--- a/libre/antlr2/PKGBUILD
+++ b/libre/antlr2/PKGBUILD
@@ -6,11 +6,11 @@
pkgbase=antlr2
pkgname=(antlr2 antlr2-{java,python2,cxx,sharp})
pkgver=2.7.7
-pkgdesc="ANother Tool for Language Recognition"
+pkgdesc="Another Tool for Language Recognition"
url="http://www.antlr2.org/"
license=('custom:Public Domain')
-pkgrel=5.1 # newer than Arch's 2.7.7-5
+pkgrel=6
arch=('i686' 'x86_64')
options=('staticlibs')
makedepends=('java-environment' 'python2' 'sh' 'nant' 'jh')
@@ -24,11 +24,14 @@ md5sums=('01cc9a2a454dd33dcd8c856ec89af090'
'158677e4c0f357afbb56656231a54815'
'0d1960d27ff81f2fea0dd35a8290216f')
-build() {
+prepare() {
cd "${srcdir}/antlr-${pkgver}"
-
patch -Np1 -i "${srcdir}"/gcc4.4.patch
patch -Np1 -i "${srcdir}"/mono.patch
+}
+
+build() {
+ cd "${srcdir}/antlr-${pkgver}"
./configure --prefix=/usr --disable-examples
make -j1