summaryrefslogtreecommitdiff
path: root/testing/flex
diff options
context:
space:
mode:
Diffstat (limited to 'testing/flex')
-rw-r--r--testing/flex/PKGBUILD44
-rw-r--r--testing/flex/flex.install22
-rw-r--r--testing/flex/lex.sh3
3 files changed, 0 insertions, 69 deletions
diff --git a/testing/flex/PKGBUILD b/testing/flex/PKGBUILD
deleted file mode 100644
index 1c9e16129..000000000
--- a/testing/flex/PKGBUILD
+++ /dev/null
@@ -1,44 +0,0 @@
-# $Id: PKGBUILD 164717 2012-08-04 01:16:51Z allan $
-# Maintainer: Allan McRae <allan@archlinux.org>
-# Contributor: judd <jvinet@zeroflux.org>
-
-pkgname=flex
-pkgver=2.5.37
-pkgrel=1
-pkgdesc="A tool for generating text-scanning programs"
-arch=('i686' 'x86_64')
-url="http://flex.sourceforge.net"
-license=('custom')
-groups=('base-devel')
-depends=('glibc' 'm4' 'sh')
-install=flex.install
-source=(http://downloads.sourceforge.net/sourceforge/flex/flex-$pkgver.tar.bz2
- lex.sh)
-md5sums=('c75940e1fc25108f2a7b3ef42abdae06'
- 'f725259ec23a9e87ee29e2ef82eda9a5')
-
-build() {
- cd $srcdir/$pkgname-$pkgver
- ./configure --prefix=/usr
- make
-}
-
-check() {
- cd $srcdir/$pkgname-$pkgver
-
- # these tests used features removed in bison-2.6
- sed -i -e '/test-bison-yylloc/d' -e '/test-bison-yylval/d' tests/Makefile.in
-
- make check
-}
-
-package() {
- cd $srcdir/$pkgname-$pkgver
-
- make DESTDIR=$pkgdir install
- install -Dm755 $srcdir/lex.sh $pkgdir/usr/bin/lex
-
- install -Dm644 COPYING \
- $pkgdir/usr/share/licenses/$pkgname/license.txt
-}
-
diff --git a/testing/flex/flex.install b/testing/flex/flex.install
deleted file mode 100644
index 5b328c722..000000000
--- a/testing/flex/flex.install
+++ /dev/null
@@ -1,22 +0,0 @@
-infodir=/usr/share/info
-filelist=(flex.info{,-1,-2})
-
-post_install() {
- [ -x usr/bin/install-info ] || return 0
- for file in ${filelist[@]}; do
- install-info $infodir/$file.gz $infodir/dir 2> /dev/null
- done
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- [ -x usr/bin/install-info ] || return 0
- for file in ${filelist[@]}; do
- install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
- done
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/testing/flex/lex.sh b/testing/flex/lex.sh
deleted file mode 100644
index 13e7de692..000000000
--- a/testing/flex/lex.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-exec /usr/bin/flex -l "$@"