summaryrefslogtreecommitdiff
path: root/testing/pcre/PKGBUILD
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-09-05 13:37:26 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-09-05 13:37:26 +0000
commitf651180e6b1ac9508ec0d1d9b94972de776020a9 (patch)
tree2c1f8d3bf28b5a52b186cfb6a67b6d092ddf21fc /testing/pcre/PKGBUILD
parent6dee0a203a8290427ca77705bc1cae90381529b2 (diff)
Mon Sep 5 13:37:24 UTC 2011
Diffstat (limited to 'testing/pcre/PKGBUILD')
-rw-r--r--testing/pcre/PKGBUILD47
1 files changed, 0 insertions, 47 deletions
diff --git a/testing/pcre/PKGBUILD b/testing/pcre/PKGBUILD
deleted file mode 100644
index e00105faa..000000000
--- a/testing/pcre/PKGBUILD
+++ /dev/null
@@ -1,47 +0,0 @@
-# $Id: PKGBUILD 136064 2011-08-22 11:33:49Z allan $
-# Maintainer: Allan McRae <allan@archlinux.org>
-# Contributor: Eric Belanger <eric@archlinux.org>
-# Contributor: John Proctor <jproctor@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
-}