25 lines
742 B
Bash
25 lines
742 B
Bash
# Template file for 'composer'
|
|
pkgname=composer
|
|
version=1.9.0
|
|
revision=1
|
|
archs=noarch
|
|
build_style=fetch
|
|
depends="php"
|
|
short_desc="Dependency manager for PHP"
|
|
maintainer="Alexander Mamay <alexander@mamay.su>"
|
|
license="MIT"
|
|
homepage="https://getcomposer.org/"
|
|
distfiles="https://github.com/composer/composer/releases/download/${version}/composer.phar
|
|
https://raw.githubusercontent.com/composer/composer/master/LICENSE"
|
|
checksum="1126fd7501ae6ff1dc9f91f0a3eca7430b1ea060d018d21521dc5e2d1ba01606
|
|
7855ac293067aebe7e51afdd23b9dea54b8be24187dbecc9b9142581c37f596c"
|
|
|
|
do_install() {
|
|
vbin composer.phar composer
|
|
vlicense LICENSE
|
|
|
|
vmkdir /etc/php/conf.d
|
|
printf 'extension=%s\n' phar iconv openssl zip \
|
|
>${DESTDIR}/etc/php/conf.d/composer.ini
|
|
}
|