[arch-commits] Commit in flex/trunk (PKGBUILD lex.sh)
Allan McRae
allan at nymeria.archlinux.org
Thu Feb 13 02:14:03 UTC 2014
Date: Thursday, February 13, 2014 @ 03:14:03
Author: allan
Revision: 205887
upgpkg: flex 2.5.38-1
upstream update, shared libraries are now provided so static libraries are removed, make lex a symlink like every other distro does
Modified:
flex/trunk/PKGBUILD
Deleted:
flex/trunk/lex.sh
----------+
PKGBUILD | 13 +++++--------
lex.sh | 3 ---
2 files changed, 5 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-02-13 00:24:30 UTC (rev 205886)
+++ PKGBUILD 2014-02-13 02:14:03 UTC (rev 205887)
@@ -3,7 +3,7 @@
# Contributor: judd <jvinet at 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 @@
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 @@
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 @@
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
Deleted: lex.sh
===================================================================
--- lex.sh 2014-02-13 00:24:30 UTC (rev 205886)
+++ lex.sh 2014-02-13 02:14:03 UTC (rev 205887)
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-exec /usr/bin/flex -l "$@"
More information about the arch-commits
mailing list