From 5cec89b153ce3c58bf4150189e0bbfaaa2d83c32 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Sat, 9 Mar 2019 03:24:53 -0300 Subject: [PATCH] composer: provide .ini file for loading phar extension --- srcpkgs/composer/template | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/srcpkgs/composer/template b/srcpkgs/composer/template index 49312e3a9e7..37a1cb0d7d2 100644 --- a/srcpkgs/composer/template +++ b/srcpkgs/composer/template @@ -1,7 +1,7 @@ # Template file for 'composer' pkgname=composer version=1.8.4 -revision=1 +revision=2 archs=noarch build_style=fetch depends="php" @@ -17,4 +17,7 @@ checksum="6faf282db067f0f7625a5a1d80f4ecd3228ccc9a0388aec1599824c610d5d4e3 do_install() { vbin composer.phar composer vlicense LICENSE + + vmkdir /etc/php/conf.d + echo "extension=phar" > ${DESTDIR}/etc/php/conf.d/composer.ini }