summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD22
1 files changed, 12 insertions, 10 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 38a5418ab37..799584fb540 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,25 +1,27 @@
pkgname=mingw-w64-pcre2
-pkgver=10.32
+pkgver=10.33
pkgrel=1
-pkgdesc=" A library that implements Perl 5-style regular expressions. 2nd version (mingw-w64)"
-arch=(any)
-url="http://www.pcre.org/"
-license=("BSD")
+pkgdesc='A library that implements Perl 5-style regular expressions. 2nd version (mingw-w64)'
+arch=('any')
+url='https://www.pcre.org/'
+license=('BSD')
makedepends=(mingw-w64-configure mingw-w64-readline mingw-w64-bzip2 mingw-w64-zlib)
depends=(mingw-w64-crt)
options=(staticlibs !strip !buildflags)
optdepends=(mingw-w64-readline mingw-w64-bzip2 mingw-w64-zlib)
-source=("ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre2-$pkgver.tar.bz2")
-sha256sums=('f29e89cc5de813f45786580101aaee3984a65818631d4ddbda7b32f699b87c2e')
+source=("https://ftp.pcre.org/pub/pcre/${pkgname##mingw-w64-}-$pkgver.tar.bz2"{,.sig})
+sha512sums=('c6aa52cdbb0c906b02e9a9f255697a1b9b99d9c7dccdaa484ffdb04fe3582d232ba3cb3c421d6df589a387b415dedb0817f58ec5391488b25b4e7bd9da6bab8f'
+ 'SKIP')
+validpgpkeys=('45F68D54BBE23FB3039B46E59766E084FB0F43D8') # Philip Hazel
_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
prepare() {
- cd "$srcdir/pcre2-$pkgver"
+ cd "$srcdir/${pkgname##mingw-w64-}-$pkgver"
}
build() {
- cd "$srcdir/pcre2-$pkgver"
+ cd "$srcdir/${pkgname##mingw-w64-}-$pkgver"
for _arch in ${_architectures}; do
unset LDFLAGS
mkdir -p build-${_arch} && pushd build-${_arch}
@@ -37,7 +39,7 @@ build() {
package() {
for _arch in ${_architectures}; do
- cd "${srcdir}/pcre2-$pkgver/build-${_arch}"
+ cd "${srcdir}/${pkgname##mingw-w64-}-$pkgver/build-${_arch}"
make DESTDIR="$pkgdir" install
find "$pkgdir/usr/${_arch}" -name '*.exe' -exec ${_arch}-strip {} \;
find "$pkgdir/usr/${_arch}" -name '*.dll' -exec ${_arch}-strip --strip-unneeded {} \;