composer: provide .ini file for loading phar extension

This commit is contained in:
maxice8 2019-03-09 03:24:53 -03:00 committed by maxice8
parent b8ec3e77da
commit 5cec89b153
1 changed files with 4 additions and 1 deletions

View File

@ -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
}