28 lines
935 B
Bash
28 lines
935 B
Bash
# Template file for 'composer8.0'
|
|
pkgname=composer8.0
|
|
version=2.5.3
|
|
revision=2
|
|
build_style=fetch
|
|
depends="php8.0"
|
|
short_desc="Dependency manager for PHP"
|
|
maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
|
|
license="MIT"
|
|
homepage="https://getcomposer.org/"
|
|
changelog="https://raw.githubusercontent.com/composer/composer/main/CHANGELOG.md"
|
|
distfiles="https://github.com/composer/composer/releases/download/${version}/composer.phar
|
|
https://raw.githubusercontent.com/composer/composer/main/LICENSE"
|
|
checksum="2e1061821951c6a5ece033a025d06296d4a1d056fee2f4bebd35815cf4b1b0f9
|
|
7855ac293067aebe7e51afdd23b9dea54b8be24187dbecc9b9142581c37f596c"
|
|
alternatives="composer:composer:/usr/bin/composer8.0"
|
|
|
|
do_install() {
|
|
vbin ${FILESDIR}/composer8.0
|
|
|
|
vinstall composer.phar 644 usr/libexec composer.phar8.0
|
|
vlicense LICENSE
|
|
|
|
vmkdir /etc/php8.0/conf.d
|
|
printf 'extension=%s\n' phar iconv openssl zip \
|
|
>${DESTDIR}/etc/php8.0/conf.d/composer.ini
|
|
}
|