summaryrefslogtreecommitdiff
path: root/core/flex/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/flex/PKGBUILD')
-rw-r--r--core/flex/PKGBUILD15
1 files changed, 6 insertions, 9 deletions
diff --git a/core/flex/PKGBUILD b/core/flex/PKGBUILD
index 801252b58..51dccdc63 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' 'mips64el')
@@ -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