2021-06-13 18:31:16 +03:00
|
|
|
#!/usr/bin/env -S bash ../.port_include.sh
|
2022-06-02 23:05:04 +03:00
|
|
|
port='composer'
|
2022-10-21 15:27:44 +03:00
|
|
|
version='2.4.3'
|
2023-07-10 14:10:29 +03:00
|
|
|
files=(
|
2023-09-02 07:32:27 +03:00
|
|
|
"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() {
|
2022-06-02 23:05:04 +03:00
|
|
|
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
|
|
|
}
|