[arch-commits] Commit in pcre/repos (testing-x86_64 testing-x86_64/PKGBUILD)

2020-03-11 Thread Felix Yan via arch-commits
Date: Wednesday, March 11, 2020 @ 23:32:24
  Author: felixonmars
Revision: 377398

archrelease: copy trunk to testing-x86_64

Added:
  pcre/repos/testing-x86_64/
  pcre/repos/testing-x86_64/PKGBUILD
(from rev 377397, pcre/trunk/PKGBUILD)

--+
 PKGBUILD |   58 ++
 1 file changed, 58 insertions(+)

Copied: pcre/repos/testing-x86_64/PKGBUILD (from rev 377397, 
pcre/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2020-03-11 23:32:24 UTC (rev 377398)
@@ -0,0 +1,58 @@
+# Maintainer: Sébastien "Seblu" Luttringer
+# Contributor: Allan McRae 
+# Contributor: Eric Belanger 
+# Contributor: John Proctor 
+
+pkgname=pcre
+pkgver=8.44
+pkgrel=1
+pkgdesc='A library that implements Perl 5-style regular expressions'
+arch=('x86_64')
+url='https://www.pcre.org/'
+license=('BSD')
+depends=('gcc-libs' 'readline' 'zlib' 'bzip2' 'bash')
+validpgpkeys=('45F68D54BBE23FB3039B46E59766E084FB0F43D8') # Philip Hazel
+source=("https://ftp.pcre.org/pub/pcre/$pkgname-$pkgver.tar.bz2"{,.sig})
+sha512sums=('f26d850aab5228799e58ac8c2306fb313889332c39e29b118ef1de57677c5c90f970d68d3f475cabc64f8b982a77f04eca990ff1057f3ccf5e19bd137997c4ac'
+'SKIP')
+
+prepare() {
+  cd $pkgname-$pkgver
+  # apply patch from the source array (should be a pacman feature)
+  local filename
+  for filename in "${source[@]}"; do
+if [[ "$filename" =~ \.patch$ ]]; then
+  msg2 "Applying patch ${filename##*/}"
+  patch -p1 -N -i "$srcdir/${filename##*/}"
+fi
+  done
+  :
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure \
+--prefix=/usr \
+--enable-unicode-properties \
+--enable-pcre16 \
+--enable-pcre32 \
+--enable-jit \
+--enable-pcregrep-libz \
+--enable-pcregrep-libbz2 \
+--enable-pcretest-libreadline
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make -j1 check
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  install -Dm644 LICENCE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:


[arch-commits] Commit in pcre/repos (testing-x86_64 testing-x86_64/PKGBUILD)

2019-02-25 Thread Sébastien Luttringer via arch-commits
Date: Monday, February 25, 2019 @ 18:36:09
  Author: seblu
Revision: 346805

archrelease: copy trunk to testing-x86_64

Added:
  pcre/repos/testing-x86_64/
  pcre/repos/testing-x86_64/PKGBUILD
(from rev 346804, pcre/trunk/PKGBUILD)

--+
 PKGBUILD |   58 ++
 1 file changed, 58 insertions(+)

Copied: pcre/repos/testing-x86_64/PKGBUILD (from rev 346804, 
pcre/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2019-02-25 18:36:09 UTC (rev 346805)
@@ -0,0 +1,58 @@
+# Maintainer: Sébastien "Seblu" Luttringer
+# Contributor: Allan McRae 
+# Contributor: Eric Belanger 
+# Contributor: John Proctor 
+
+pkgname=pcre
+pkgver=8.43
+pkgrel=1
+pkgdesc='A library that implements Perl 5-style regular expressions'
+arch=('x86_64')
+url='http://www.pcre.org/'
+license=('BSD')
+depends=('gcc-libs' 'readline' 'zlib' 'bzip2' 'bash')
+validpgpkeys=('45F68D54BBE23FB3039B46E59766E084FB0F43D8') # Philip Hazel
+source=("https://ftp.pcre.org/pub/pcre/$pkgname-$pkgver.tar.bz2"{,.sig})
+md5sums=('636222e79e392c3d95dcc545f24f98c4'
+ 'SKIP')
+
+prepare() {
+  cd $pkgname-$pkgver
+  # apply patch from the source array (should be a pacman feature)
+  local filename
+  for filename in "${source[@]}"; do
+if [[ "$filename" =~ \.patch$ ]]; then
+  msg2 "Applying patch ${filename##*/}"
+  patch -p1 -N -i "$srcdir/${filename##*/}"
+fi
+  done
+  :
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure \
+--prefix=/usr \
+--enable-unicode-properties \
+--enable-pcre16 \
+--enable-pcre32 \
+--enable-jit \
+--enable-pcregrep-libz \
+--enable-pcregrep-libbz2 \
+--enable-pcretest-libreadline
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make -j1 check
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  install -Dm644 LICENCE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:


[arch-commits] Commit in pcre/repos (testing-x86_64 testing-x86_64/PKGBUILD)

2018-03-23 Thread Sébastien Luttringer via arch-commits
Date: Friday, March 23, 2018 @ 12:35:24
  Author: seblu
Revision: 319860

archrelease: copy trunk to testing-x86_64

Added:
  pcre/repos/testing-x86_64/
  pcre/repos/testing-x86_64/PKGBUILD
(from rev 319859, pcre/trunk/PKGBUILD)

--+
 PKGBUILD |   59 +++
 1 file changed, 59 insertions(+)

Copied: pcre/repos/testing-x86_64/PKGBUILD (from rev 319859, 
pcre/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2018-03-23 12:35:24 UTC (rev 319860)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Sébastien "Seblu" Luttringer
+# Contributor: Allan McRae 
+# Contributor: Eric Belanger 
+# Contributor: John Proctor 
+
+pkgname=pcre
+pkgver=8.42
+pkgrel=1
+pkgdesc='A library that implements Perl 5-style regular expressions'
+arch=('x86_64')
+url='http://www.pcre.org/'
+license=('BSD')
+depends=('gcc-libs' 'readline' 'zlib' 'bzip2' 'bash')
+validpgpkeys=('45F68D54BBE23FB3039B46E59766E084FB0F43D8') # Philip Hazel
+source=("https://ftp.pcre.org/pub/pcre/$pkgname-$pkgver.tar.bz2"{,.sig})
+md5sums=('085b6aa253e0f91cae70b3cdbe8c1ac2'
+ 'SKIP')
+
+prepare() {
+  cd $pkgname-$pkgver
+  # apply patch from the source array (should be a pacman feature)
+  local filename
+  for filename in "${source[@]}"; do
+if [[ "$filename" =~ \.patch$ ]]; then
+  msg2 "Applying patch ${filename##*/}"
+  patch -p1 -N -i "$srcdir/${filename##*/}"
+fi
+  done
+  :
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure \
+--prefix=/usr \
+--enable-unicode-properties \
+--enable-pcre16 \
+--enable-pcre32 \
+--enable-jit \
+--enable-pcregrep-libz \
+--enable-pcregrep-libbz2 \
+--enable-pcretest-libreadline
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make -j1 check
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  install -Dm644 LICENCE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:


[arch-commits] Commit in pcre/repos (testing-x86_64 testing-x86_64/PKGBUILD)

2011-08-22 Thread Allan McRae
Date: Monday, August 22, 2011 @ 07:33:49
  Author: allan
Revision: 136064

archrelease: copy trunk to testing-x86_64

Added:
  pcre/repos/testing-x86_64/
  pcre/repos/testing-x86_64/PKGBUILD
(from rev 136063, pcre/trunk/PKGBUILD)

--+
 PKGBUILD |   47 +++
 1 file changed, 47 insertions(+)

Copied: pcre/repos/testing-x86_64/PKGBUILD (from rev 136063, 
pcre/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2011-08-22 11:33:49 UTC (rev 136064)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Allan McRae al...@archlinux.org
+# Contributor: Eric Belanger e...@archlinux.org
+# Contributor: John Proctor jproc...@prium.net
+
+pkgname=pcre
+pkgver=8.13
+pkgrel=2
+pkgdesc=A library that implements Perl 5-style regular expressions
+arch=('i686' 'x86_64')
+url=http://www.pcre.org/;
+license=('BSD')
+depends=('gcc-libs')
+options=('!libtool')
+source=(ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${pkgname}-${pkgver}.tar.bz2
+r661.diff)
+md5sums=('5e595edbcded141813fa1a10dbce05cb'
+ '70e2725b46ff6f3f114ce5067fd03405')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  
+  # http://bugs.exim.org/show_bug.cgi?id=1136
+  patch -Np2 -i ${srcdir}/r661.diff
+  sed -i '12140d' testdata/testoutput2
+  
+  [ ${CARCH} = x86_64 ]  export CFLAGS=${CFLAGS} -fPIC
+  ./configure --prefix=/usr --enable-utf8 --enable-unicode-properties
+  make
+}
+
+check() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make check
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+
+  # grep uses pcre, so we need the libs in /lib
+  install -dm755 ${pkgdir}/lib
+  mv ${pkgdir}/usr/lib/libpcre.so.* ${pkgdir}/lib/
+  ln -sf /lib/libpcre.so.0 ${pkgdir}/usr/lib/libpcre.so
+
+  install -Dm644 LICENCE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+}



[arch-commits] Commit in pcre/repos (testing-x86_64 testing-x86_64/PKGBUILD)

2011-08-16 Thread Allan McRae
Date: Tuesday, August 16, 2011 @ 18:23:31
  Author: allan
Revision: 135641

archrelease: copy trunk to testing-x86_64

Added:
  pcre/repos/testing-x86_64/
  pcre/repos/testing-x86_64/PKGBUILD
(from rev 135640, pcre/trunk/PKGBUILD)

--+
 PKGBUILD |   36 
 1 file changed, 36 insertions(+)

Copied: pcre/repos/testing-x86_64/PKGBUILD (from rev 135640, 
pcre/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2011-08-16 22:23:31 UTC (rev 135641)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Allan McRae al...@archlinux.org
+# Contributor: Eric Belanger e...@archlinux.org
+# Contributor: John Proctor jproc...@prium.net
+
+pkgname=pcre
+pkgver=8.13
+pkgrel=1
+pkgdesc=A library that implements Perl 5-style regular expressions
+arch=('i686' 'x86_64')
+url=http://www.pcre.org/;
+license=('BSD')
+depends=('gcc-libs')
+options=('!libtool')
+source=(ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${pkgname}-${pkgver}.tar.bz2)
+md5sums=('5e595edbcded141813fa1a10dbce05cb')
+
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  [ ${CARCH} = x86_64 ]  export CFLAGS=${CFLAGS} -fPIC
+  ./configure --prefix=/usr --enable-utf8 --enable-unicode-properties
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+
+  # grep uses pcre, so we need the libs in /lib
+  install -dm755 ${pkgdir}/lib
+  mv ${pkgdir}/usr/lib/libpcre.so.* ${pkgdir}/lib/
+  ln -sf /lib/libpcre.so.0 ${pkgdir}/usr/lib/libpcre.so
+
+  install -Dm644 LICENCE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+}