diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-02-15 03:33:23 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-02-15 03:33:23 +0000 |
commit | 34276794ce110cd2f9204e4b504aea41fb584145 (patch) | |
tree | 614343b8dd17e74468019c46daabd3861ef8dfbc /core/flex | |
parent | 86a5624291a8a72d9a0a2c51fcc64bf6e221524b (diff) |
Sat Feb 15 03:31:19 UTC 2014
Diffstat (limited to 'core/flex')
-rw-r--r-- | core/flex/PKGBUILD | 15 | ||||
-rw-r--r-- | core/flex/lex.sh | 3 |
2 files changed, 6 insertions, 12 deletions
diff --git a/core/flex/PKGBUILD b/core/flex/PKGBUILD index 1fbcaf1c8..8f52d3fc6 100644 --- a/core/flex/PKGBUILD +++ b/core/flex/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 196829 2013-10-20 11:50:22Z allan $ +# $Id: PKGBUILD 205933 2014-02-14 08:16:43Z allan $ # Maintainer: Allan McRae <allan@archlinux.org> # Contributor: judd <jvinet@zeroflux.org> pkgname=flex -pkgver=2.5.37 +pkgver=2.5.38 pkgrel=1 pkgdesc="A tool for generating text-scanning programs" arch=('i686' 'x86_64') @@ -11,12 +11,9 @@ url="http://flex.sourceforge.net" license=('custom') groups=('base-devel') depends=('glibc' 'm4' 'sh') -options=('staticlibs') install=flex.install -source=(http://downloads.sourceforge.net/sourceforge/flex/flex-$pkgver.tar.bz2 - lex.sh) -md5sums=('c75940e1fc25108f2a7b3ef42abdae06' - 'f725259ec23a9e87ee29e2ef82eda9a5') +source=(http://downloads.sourceforge.net/sourceforge/flex/flex-$pkgver.tar.bz2) +md5sums=('b230c88e65996ff74994d08a2a2e0f27') build() { cd $srcdir/$pkgname-$pkgver @@ -27,7 +24,7 @@ build() { check() { cd $srcdir/$pkgname-$pkgver - # these tests used features removed in bison-2.6 + # these tests are incompatible with latest bison sed -i -e '/test-bison-yylloc/d' -e '/test-bison-yylval/d' tests/Makefile.in make check @@ -37,7 +34,7 @@ package() { cd $srcdir/$pkgname-$pkgver make DESTDIR=$pkgdir install - install -Dm755 $srcdir/lex.sh $pkgdir/usr/bin/lex + ln -s flex ${pkgdir}/usr/bin/lex install -Dm644 COPYING \ $pkgdir/usr/share/licenses/$pkgname/license.txt diff --git a/core/flex/lex.sh b/core/flex/lex.sh deleted file mode 100644 index 13e7de692..000000000 --- a/core/flex/lex.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -exec /usr/bin/flex -l "$@" |