1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 17:27:35 +00:00

Ports: Add Composer

This commit is contained in:
Jelle Raaijmakers 2021-06-13 17:31:16 +02:00 committed by Linus Groh
parent 3fa5b27931
commit ba7e025320
2 changed files with 17 additions and 0 deletions

16
Ports/composer/package.sh Executable file
View file

@ -0,0 +1,16 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=composer
version="2.1.3"
files="https://getcomposer.org/download/${version}/composer.phar composer.phar f8a72e98dec8da736d8dac66761ca0a8fbde913753e9a43f34112367f5174d11"
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}
}