1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-25 19:15:06 +00:00
serenity/Ports/composer/package.sh
Jelle Raaijmakers ada4f8d660 Ports: Update Composer to 2.3.4
This fixes some warnings when running with PHP 8.1.
2022-04-08 00:30:26 +01:00

16 lines
437 B
Bash
Executable file

#!/usr/bin/env -S bash ../.port_include.sh
port=composer
version="2.3.4"
files="https://getcomposer.org/download/${version}/composer.phar composer.phar 1fc8fc5b43f081fe76fa85eb5a213412e55f54a60bae4880bc96521ae482d6c3"
auth_type=sha256
depends=("php")
build() {
:
}
install() {
local target_path=${SERENITY_INSTALL_ROOT}/usr/local/bin/composer
run_nocd cp composer.phar ${target_path}
run_nocd chmod +x ${target_path}
}