* 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>
|
# Contributor: John Proctor <jproctor@prium.net>
|
||||||
|
|
||||||
pkgname=pcre-static
|
pkgname=pcre-static
|
||||||
pkgver=8.44
|
pkgver=8.45
|
||||||
pkgrel=5
|
pkgrel=1
|
||||||
pkgdesc="A library that implements Perl 5-style regular expressions"
|
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/"
|
url="http://www.pcre.org/"
|
||||||
license=('BSD')
|
license=('BSD')
|
||||||
depends=('gcc-libs')
|
depends=('gcc-libs')
|
||||||
options=('staticlibs' '!libtool')
|
options=('staticlibs' '!libtool')
|
||||||
validpgpkeys=('45F68D54BBE23FB3039B46E59766E084FB0F43D8')
|
validpgpkeys=('45F68D54BBE23FB3039B46E59766E084FB0F43D8')
|
||||||
#source=(ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-${pkgver}.tar.bz2{,.sig})
|
source=("https://sourceforge.net/projects/pcre/files/pcre/$pkgver/pcre-$pkgver.tar.bz2")
|
||||||
source=(https://ftp.pcre.org/pub/pcre/pcre-${pkgver}.tar.bz2)
|
sha256sums=('4dae6fdcd2bb0bb6c37b5f97c33c2be954da743985369cddac3546e3218bffb8')
|
||||||
sha256sums=('19108658b23b3ec5058edc9f66ac545ea19f9537234be1ec62b714c84399366d')
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "${srcdir}"/pcre-${pkgver}
|
cd "${srcdir}"/pcre-${pkgver}
|
||||||
./configure --prefix=/usr \
|
case "${CARCH}" in
|
||||||
--enable-pcre16 --enable-pcre32 --enable-jit \
|
riscv64) ;;
|
||||||
--enable-utf --enable-unicode-properties
|
*) _configure_flags=(--enable-jit) ;;
|
||||||
|
esac
|
||||||
|
./configure --prefix=/usr --build=${CHOST} --host=${CHOST} \
|
||||||
|
--enable-pcre16 --enable-pcre32 \
|
||||||
|
--enable-utf --enable-unicode-properties ${_configure_flags[@]}
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user