ladybird/Ports/composer/package.sh

18 lines
422 B
Bash
Raw Normal View History

2021-06-13 18:31:16 +03:00
#!/usr/bin/env -S bash ../.port_include.sh
port='composer'
2022-10-21 15:27:44 +03:00
version='2.4.3'
2023-07-10 14:10:29 +03:00
files=(
"https://getcomposer.org/download/${version}/composer.phar#26d72f2790502bc9b22209e1cec1e0e43d33b368606ad227d327cccb388b609a"
2023-07-10 14:10:29 +03:00
)
2022-10-21 15:27:44 +03:00
depends=('php')
2021-06-13 18:31:16 +03:00
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}"
2021-06-13 18:31:16 +03:00
}