summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMatt Fields2020-04-27 20:35:53 -0400
committerMatt Fields2020-04-27 20:35:53 -0400
commitdf40f2fd6a857521657d2dc2c893208884b0813b (patch)
tree50d2755878e890afcc6a5d3f49875f298c32f8f4 /PKGBUILD
parent97188a76df7dcbc6dfaaa222ff836fde4b15aad2 (diff)
downloadaur-df40f2fd6a857521657d2dc2c893208884b0813b.tar.gz
Use 2.13.0 release of mustashe to avoid PHP7.4 compatibility issues
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 940ce202a8d3..d84f9610dea1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=wp-cli
pkgver=2.4.0
-pkgrel=1
+pkgrel=2
pkgdesc="A command-line tool for managing WordPress"
url="http://wp-cli.org/"
arch=('any')
@@ -18,6 +18,8 @@ md5sums=('ea149787cacc1b8f2e76730573d97874')
build() {
cd "${pkgname}-bundle-${pkgver}"
+ echo "Replacing mustache release to fix PHP 7.4 comatibility..."
+ sed -i 's/fe8fe72e9d580591854de404cc59a1b83ca4d19e/e95c5a008c23d3151d59ea72484d4f72049ab7f4/g' composer.lock
composer install --no-interaction --prefer-dist --no-scripts && composer dump
echo -n "Building phar... "
php -dphar.readonly=0 utils/make-phar.php wp-cli.phar --quiet