diff options
Diffstat (limited to 'libre/pcre-static/PKGBUILD')
-rw-r--r-- | libre/pcre-static/PKGBUILD | 44 |
1 files changed, 30 insertions, 14 deletions
diff --git a/libre/pcre-static/PKGBUILD b/libre/pcre-static/PKGBUILD index a4ad3db15..34ca10f9a 100644 --- a/libre/pcre-static/PKGBUILD +++ b/libre/pcre-static/PKGBUILD @@ -1,19 +1,25 @@ -# Maintainer: Márcio Silva <coadde@hyperbola.info> -# based of pcre +# Maintainer (Arch:pcre): Sébastien "Seblu" Luttringer +# Contributor (Arch:pcre): Allan McRae <allan@archlinux.org> +# Contributor (Arch:pcre): Eric Belanger <eric@archlinux.org> +# Contributor (Arch:pcre): John Proctor <jproctor@prium.net> +# Maintainer: Luke Shumaker <lukeshu@parabola.nu> +# Contributor: Márcio Silva <coadde@hyperbola.info> _pkgname=pcre pkgname=pcre-static -pkgver=8.39 -pkgrel=2 -pkgdesc='A library that implements Perl 5-style regular expressions (static libraries only)' -arch=('i686' 'x86_64' 'armv7h') +pkgver=8.41 +pkgrel=1.parabola1 +pkgdesc='A library that implements Perl 5-style regular expressions' +pkgdesc+=' (static libraries)' +arch=('x86_64') +arch+=('i686' 'armv7h') url='http://www.pcre.org/' -license=('BSD') -depends=('pcre') +license=('BSD3') +depends=("$_pkgname=$pkgver") options=('staticlibs') validpgpkeys=('45F68D54BBE23FB3039B46E59766E084FB0F43D8') # Philip Hazel -source=("ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/$_pkgname-$pkgver.tar.bz2"{,.sig}) -md5sums=('e3fca7650a0556a2647821679d81f585' +source=("https://ftp.pcre.org/pub/pcre/$_pkgname-$pkgver.tar.bz2"{,.sig}) +md5sums=('c160d22723b1670447341b08c58981c1' 'SKIP') prepare() { @@ -22,8 +28,8 @@ prepare() { local filename for filename in "${source[@]}"; do if [[ "$filename" =~ \.patch$ ]]; then - msg2 "Applying patch $filename" - patch -p1 -N -i "$srcdir/$filename" + msg2 "Applying patch ${filename##*/}" + patch -p1 -N -i "$srcdir/${filename##*/}" fi done : @@ -45,6 +51,7 @@ build() { check() { cd $_pkgname-$pkgver + if [[ $CARCH == armv7h ]]; then return 0; fi # qemu: Unsupported syscall: 229 make -j1 check } @@ -52,9 +59,18 @@ package() { cd $_pkgname-$pkgver make DESTDIR="$pkgdir" install + install -Dm644 LICENCE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + # remove conflicting files - rm -vr ${pkgdir}/usr/{bin,include,lib/pkgconfig,share} - rm -v ${pkgdir}/usr/lib/lib*.so* + rm -vr -- \ + "$pkgdir"/usr/bin/ \ + "$pkgdir"/usr/include/ \ + "$pkgdir"/usr/lib/pkgconfig/ \ + "$pkgdir"/usr/share/doc/ \ + "$pkgdir"/usr/share/man/ + rm -v -- \ + "${pkgdir}"/usr/lib/lib*.so \ + "${pkgdir}"/usr/lib/lib*.so.* } # vim:set ts=2 sw=2 et: |