summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD6
2 files changed, 7 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 96567afb83f1..0ea320f86ab3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = mingw-w64-pcre2
pkgdesc = A library that implements Perl 5-style regular expressions. 2nd version (mingw-w64)
- pkgver = 10.35
+ pkgver = 10.37
pkgrel = 1
url = https://www.pcre.org/
arch = any
@@ -16,11 +16,10 @@ pkgbase = mingw-w64-pcre2
options = staticlibs
options = !strip
options = !buildflags
- source = https://ftp.pcre.org/pub/pcre/pcre2-10.35.tar.bz2
- source = https://ftp.pcre.org/pub/pcre/pcre2-10.35.tar.bz2.sig
+ source = https://ftp.pcre.org/pub/pcre/pcre2-10.37.tar.bz2
+ source = https://ftp.pcre.org/pub/pcre/pcre2-10.37.tar.bz2.sig
validpgpkeys = 45F68D54BBE23FB3039B46E59766E084FB0F43D8
- sha512sums = ecfb8d48e219daff02874783b7b436fe7d70d8471e44eb66e1e29abb7b0aa67547e6b5fba7058b074ac90eef265ece7d12728f80afdda45b6b8124435f4561fd
+ sha512sums = 69f4bf4736b986e0fc855eedb292efe72a0df2e803bc0e61a6cf47775eed433bb1b2f28d7e641591ef4603d47beb543a64ed0eef9538d00f0746bc3435c143ec
sha512sums = SKIP
pkgname = mingw-w64-pcre2
-
diff --git a/PKGBUILD b/PKGBUILD
index 8abe88e88069..22b17e4fa06e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,5 @@
pkgname=mingw-w64-pcre2
-pkgver=10.35
+pkgver=10.37
pkgrel=1
pkgdesc='A library that implements Perl 5-style regular expressions. 2nd version (mingw-w64)'
arch=('any')
@@ -10,7 +10,7 @@ depends=(mingw-w64-crt)
options=(staticlibs !strip !buildflags)
optdepends=(mingw-w64-readline mingw-w64-bzip2 mingw-w64-zlib)
source=("https://ftp.pcre.org/pub/pcre/${pkgname##mingw-w64-}-$pkgver.tar.bz2"{,.sig})
-sha512sums=('ecfb8d48e219daff02874783b7b436fe7d70d8471e44eb66e1e29abb7b0aa67547e6b5fba7058b074ac90eef265ece7d12728f80afdda45b6b8124435f4561fd'
+sha512sums=('69f4bf4736b986e0fc855eedb292efe72a0df2e803bc0e61a6cf47775eed433bb1b2f28d7e641591ef4603d47beb543a64ed0eef9538d00f0746bc3435c143ec'
'SKIP')
validpgpkeys=('45F68D54BBE23FB3039B46E59766E084FB0F43D8') # Philip Hazel
@@ -23,7 +23,6 @@ prepare() {
build() {
cd "$srcdir/${pkgname##mingw-w64-}-$pkgver"
for _arch in ${_architectures}; do
- unset LDFLAGS
mkdir -p build-${_arch} && pushd build-${_arch}
${_arch}-configure \
--enable-jit \
@@ -41,6 +40,7 @@ package() {
for _arch in ${_architectures}; do
cd "${srcdir}/${pkgname##mingw-w64-}-$pkgver/build-${_arch}"
make DESTDIR="$pkgdir" install
+ rm -r "$pkgdir/usr/${_arch}/share/"{man,doc}
find "$pkgdir/usr/${_arch}" -name '*.exe' -exec ${_arch}-strip {} \;
find "$pkgdir/usr/${_arch}" -name '*.dll' -exec ${_arch}-strip --strip-unneeded {} \;
find "$pkgdir/usr/${_arch}" -name '*.a' -o -name '*.dll' | xargs ${_arch}-strip -g