New package: composer8.0-2.3.5

This commit is contained in:
Joel Beckmeyer 2022-03-15 14:45:45 -04:00 committed by Echo
parent 204f72f897
commit 2fce14dbcc
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,2 @@
#!/bin/sh
php8.0 -f /usr/libexec/composer.phar8.0 "$@"

View file

@ -0,0 +1,26 @@
# Template file for 'composer8.0'
pkgname=composer8.0
version=2.3.5
revision=1
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="3b3b5a899c06a46aec280727bdf50aad14334f6bc40436ea76b07b650870d8f4
7855ac293067aebe7e51afdd23b9dea54b8be24187dbecc9b9142581c37f596c"
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
}