diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-03-03 01:48:39 -0200 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-03-03 01:48:39 -0200 |
commit | ec7be3b370bc2f50b2682415105ee26c509aa479 (patch) | |
tree | d7bcfb5fbbed4d7f95e1ba1538853e55af98c1b6 /libre/antlr2 | |
parent | f2657d2bf4d17c3b08153903ba37b6db224adf3f (diff) |
antlr2-2.7.7-6: set patch to function 'prepare'
Diffstat (limited to 'libre/antlr2')
-rw-r--r-- | libre/antlr2/PKGBUILD | 11 |
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 |