* update pcre-static to 8.45-1
This commit is contained in:
parent
025805144b
commit
bbc31dda45
@ -5,24 +5,27 @@
|
||||
# Contributor: John Proctor <jproctor@prium.net>
|
||||
|
||||
pkgname=pcre-static
|
||||
pkgver=8.44
|
||||
pkgrel=5
|
||||
pkgver=8.45
|
||||
pkgrel=1
|
||||
pkgdesc="A library that implements Perl 5-style regular expressions"
|
||||
arch=(i686 x86_64 armv6h armv7h aarch64 powerpc64le powerpc)
|
||||
arch=(i686 x86_64 armv6h armv7h aarch64 powerpc64le powerpc64 powerpc riscv64)
|
||||
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)
|
||||
sha256sums=('19108658b23b3ec5058edc9f66ac545ea19f9537234be1ec62b714c84399366d')
|
||||
source=("https://sourceforge.net/projects/pcre/files/pcre/$pkgver/pcre-$pkgver.tar.bz2")
|
||||
sha256sums=('4dae6fdcd2bb0bb6c37b5f97c33c2be954da743985369cddac3546e3218bffb8')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}"/pcre-${pkgver}
|
||||
./configure --prefix=/usr \
|
||||
--enable-pcre16 --enable-pcre32 --enable-jit \
|
||||
--enable-utf --enable-unicode-properties
|
||||
case "${CARCH}" in
|
||||
riscv64) ;;
|
||||
*) _configure_flags=(--enable-jit) ;;
|
||||
esac
|
||||
./configure --prefix=/usr --build=${CHOST} --host=${CHOST} \
|
||||
--enable-pcre16 --enable-pcre32 \
|
||||
--enable-utf --enable-unicode-properties ${_configure_flags[@]}
|
||||
make
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user