[arch-commits] Commit in flex/repos (6 files)

Allan McRae allan at archlinux.org
Wed Jul 27 01:35:51 UTC 2016


    Date: Wednesday, July 27, 2016 @ 01:35:51
  Author: allan
Revision: 272503

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  flex/repos/testing-i686/
  flex/repos/testing-i686/PKGBUILD
    (from rev 272501, flex/trunk/PKGBUILD)
  flex/repos/testing-i686/flex-2.6.0-comment-style.patch
    (from rev 272501, flex/trunk/flex-2.6.0-comment-style.patch)
  flex/repos/testing-x86_64/
  flex/repos/testing-x86_64/PKGBUILD
    (from rev 272502, flex/trunk/PKGBUILD)
  flex/repos/testing-x86_64/flex-2.6.0-comment-style.patch
    (from rev 272502, flex/trunk/flex-2.6.0-comment-style.patch)

-----------------------------------------------+
 testing-i686/PKGBUILD                         |   38 ++++++++++++++++++++++++
 testing-i686/flex-2.6.0-comment-style.patch   |   22 +++++++++++++
 testing-x86_64/PKGBUILD                       |   38 ++++++++++++++++++++++++
 testing-x86_64/flex-2.6.0-comment-style.patch |   22 +++++++++++++
 4 files changed, 120 insertions(+)

Copied: flex/repos/testing-i686/PKGBUILD (from rev 272501, flex/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2016-07-27 01:35:51 UTC (rev 272503)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Allan McRae <allan at archlinux.org>
+# Contributor: judd <jvinet at zeroflux.org>
+
+pkgname=flex
+pkgver=2.6.1
+pkgrel=1
+pkgdesc="A tool for generating text-scanning programs"
+arch=('i686' 'x86_64')
+url="https://github.com/westes/flex"
+license=('custom')
+groups=('base-devel')
+depends=('glibc' 'm4' 'sh')
+source=(https://github.com/westes/flex/releases/download/v$pkgver/flex-$pkgver.tar.xz)
+md5sums=('cd3c86290fc2676a641aefafeb10848a')
+
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  make DESTDIR=$pkgdir install
+  ln -s flex ${pkgdir}/usr/bin/lex
+
+  install -Dm644 COPYING \
+  	$pkgdir/usr/share/licenses/$pkgname/license.txt
+}
+

Copied: flex/repos/testing-i686/flex-2.6.0-comment-style.patch (from rev 272501, flex/trunk/flex-2.6.0-comment-style.patch)
===================================================================
--- testing-i686/flex-2.6.0-comment-style.patch	                        (rev 0)
+++ testing-i686/flex-2.6.0-comment-style.patch	2016-07-27 01:35:51 UTC (rev 272503)
@@ -0,0 +1,22 @@
+From 07d89829cce4527c7614a34642d4b2c2ef5d6005 Mon Sep 17 00:00:00 2001
+From: Will Estes <westes575 at gmail.com>
+Date: Fri, 11 Dec 2015 09:45:14 -0500
+Subject: [PATCH] Commented in C style in skeleton; fixed sf#195
+
+---
+ src/flex.skl | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/flex.skl b/src/flex.skl
+index b63c8c8..40287b6 100644
+--- a/src/flex.skl
++++ b/src/flex.skl
+@@ -2350,7 +2350,7 @@ void yyFlexLexer::yyensure_buffer_stack(void)
+ 		 * scanner will even need a stack. We use 2 instead of 1 to avoid an
+ 		 * immediate realloc on the next call.
+          */
+-		num_to_alloc = 1; // After all that talk, this was set to 1 anyways...
++      num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */
+ 		YY_G(yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
+ 								(num_to_alloc * sizeof(struct yy_buffer_state*)
+ 								M4_YY_CALL_LAST_ARG);

Copied: flex/repos/testing-x86_64/PKGBUILD (from rev 272502, flex/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2016-07-27 01:35:51 UTC (rev 272503)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Allan McRae <allan at archlinux.org>
+# Contributor: judd <jvinet at zeroflux.org>
+
+pkgname=flex
+pkgver=2.6.1
+pkgrel=1
+pkgdesc="A tool for generating text-scanning programs"
+arch=('i686' 'x86_64')
+url="https://github.com/westes/flex"
+license=('custom')
+groups=('base-devel')
+depends=('glibc' 'm4' 'sh')
+source=(https://github.com/westes/flex/releases/download/v$pkgver/flex-$pkgver.tar.xz)
+md5sums=('cd3c86290fc2676a641aefafeb10848a')
+
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  make DESTDIR=$pkgdir install
+  ln -s flex ${pkgdir}/usr/bin/lex
+
+  install -Dm644 COPYING \
+  	$pkgdir/usr/share/licenses/$pkgname/license.txt
+}
+

Copied: flex/repos/testing-x86_64/flex-2.6.0-comment-style.patch (from rev 272502, flex/trunk/flex-2.6.0-comment-style.patch)
===================================================================
--- testing-x86_64/flex-2.6.0-comment-style.patch	                        (rev 0)
+++ testing-x86_64/flex-2.6.0-comment-style.patch	2016-07-27 01:35:51 UTC (rev 272503)
@@ -0,0 +1,22 @@
+From 07d89829cce4527c7614a34642d4b2c2ef5d6005 Mon Sep 17 00:00:00 2001
+From: Will Estes <westes575 at gmail.com>
+Date: Fri, 11 Dec 2015 09:45:14 -0500
+Subject: [PATCH] Commented in C style in skeleton; fixed sf#195
+
+---
+ src/flex.skl | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/flex.skl b/src/flex.skl
+index b63c8c8..40287b6 100644
+--- a/src/flex.skl
++++ b/src/flex.skl
+@@ -2350,7 +2350,7 @@ void yyFlexLexer::yyensure_buffer_stack(void)
+ 		 * scanner will even need a stack. We use 2 instead of 1 to avoid an
+ 		 * immediate realloc on the next call.
+          */
+-		num_to_alloc = 1; // After all that talk, this was set to 1 anyways...
++      num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */
+ 		YY_G(yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
+ 								(num_to_alloc * sizeof(struct yy_buffer_state*)
+ 								M4_YY_CALL_LAST_ARG);



More information about the arch-commits mailing list