summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--abs/core-testing/pcre/ChangeLog24
-rw-r--r--abs/core-testing/pcre/PKGBUILD38
2 files changed, 46 insertions, 16 deletions
diff --git a/abs/core-testing/pcre/ChangeLog b/abs/core-testing/pcre/ChangeLog
index a1850cf..cdff568 100644
--- a/abs/core-testing/pcre/ChangeLog
+++ b/abs/core-testing/pcre/ChangeLog
@@ -1,3 +1,27 @@
+2010-03-24 Eric Belanger <eric@archlinux.org>
+
+ * pcre 8.02-1
+ * Upstream update
+
+2010-01-23 Eric Belanger <eric@archlinux.org>
+
+ * pcre 8.01-1
+ * Upstream update
+
+2009-10-26 Eric Belanger <eric@archlinux.org>
+
+ * pcre 8.00-1
+ * Upstream update
+
+2009-04-13 Eric Belanger <eric@archlinux.org>
+
+ * pcre 7.9-1
+ * Upstream update
+
+2008-10-19 Eric Belanger <eric@archlinux.org>
+
+ * Updated url
+
2008-09-05 Eric Belanger <eric@archlinux.org>
* pcre 7.8-1
diff --git a/abs/core-testing/pcre/PKGBUILD b/abs/core-testing/pcre/PKGBUILD
index b019bed..d31e23c 100644
--- a/abs/core-testing/pcre/PKGBUILD
+++ b/abs/core-testing/pcre/PKGBUILD
@@ -1,30 +1,36 @@
-# $Id: PKGBUILD 11888 2008-09-06 03:23:26Z eric $
-# Maintainer: Eric Belanger <eric@archlinux.org>
+# $Id: PKGBUILD 84661 2010-07-03 04:01:39Z allan $
+# Maintainer: Allan McRae <allan@archlinux.org>
+# Contributor: Eric Belanger <eric@archlinux.org>
# Contributor: John Proctor <jproctor@prium.net>
pkgname=pcre
-pkgver=7.8
+pkgver=8.10
pkgrel=1
pkgdesc="A library that implements Perl 5-style regular expressions"
arch=('i686' 'x86_64')
-url="http://pcre.sourceforge.net"
+url="http://www.pcre.org/"
license=('BSD')
-groups=('base')
depends=('gcc-libs')
-options=('!libtool' '!makeflags')
+options=('!libtool')
source=(ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('141132d6af14dccc7b08fa797e4fd441')
-sha1sums=('552909f9d18e1954eec639f926957a4cb2de1ec3')
+md5sums=('780867a700e9d4e4b9cb47aa5453e4b2')
+sha1sums=('8b345da0f835b2caabff071b0b5bab40564652be')
build() {
- cd ${srcdir}/${pkgname}-${pkgver}
+ cd "${srcdir}"/${pkgname}-${pkgver}
[ "${CARCH}" = "x86_64" ] && export CFLAGS="${CFLAGS} -fPIC"
- ./configure --prefix=/usr --enable-utf8 --enable-unicode-properties || return 1
- make || return 1
- make DESTDIR=${pkgdir} install || return 1
+ ./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
- mkdir -p ${pkgdir}/lib
- mv ${pkgdir}/usr/lib/libpcre.so.* ${pkgdir}/lib/ || return 1
- ln -sf ../../lib/libpcre.so.0 ${pkgdir}/usr/lib/libpcre.so || return 1
- install -D -m644 LICENCE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE || return 1
+ 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
}