blob: 61df2b853fa63ff00751e5f2e3b00f0c51aba3ff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Maintainer: Erich Eckner <arch at eckner dot net>
# Contributor: ajs124 < aur AT ajs124 DOT de >
# Contributor: Allan McRae <allan@archlinux.org>
# Contributor: Eric Belanger <eric@archlinux.org>
# Contributor: John Proctor <jproctor@prium.net>
pkgname=pcre-static
pkgver=8.45
pkgrel=1
pkgdesc="A library that implements Perl 5-style regular expressions"
arch=('i686' 'pentium4' 'x86_64' 'armv6h' 'armv7h')
url="http://www.pcre.org/"
license=('BSD')
depends=('gcc-libs')
options=('staticlibs' '!libtool')
validpgpkeys=('45F68D54BBE23FB3039B46E59766E084FB0F43D8')
#source=(ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-${pkgver}.tar.bz2{,.sig})
source=(https://ftp.pcre.org/pub/pcre/pcre-${pkgver}.tar.bz2)
sha512sums=('91bff52eed4a2dfc3f3bfdc9c672b88e7e2ffcf3c4b121540af8a4ae8c1ce05178430aa6b8000658b9bb7b4252239357250890e20ceb84b79cdfcde05154061a')
build() {
cd "${srcdir}"/pcre-${pkgver}
./configure --prefix=/usr \
--enable-pcre16 --enable-pcre32 --enable-jit \
--enable-utf --enable-unicode-properties
make
}
package() {
cd "${srcdir}"/pcre-${pkgver}
make DESTDIR="${pkgdir}" install
rm -rf $pkgdir/usr/{bin,include,share,lib/pkgconfig}
rm -f $pkgdir/usr/lib/*.so*
install -Dm644 LICENCE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
}
|