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'
|
2023-11-03 05:10:36 +03:00
|
|
|
version='2.6.5'
|
2023-07-10 14:10:29 +03:00
|
|
|
files=(
|
2023-11-03 05:10:36 +03:00
|
|
|
"https://getcomposer.org/download/${version}/composer.phar#9a18e1a3aadbcb94c1bafd6c4a98ff931f4b43a456ef48575130466e19f05dd6"
|
2023-07-10 14:10:29 +03:00
|
|
|
)
|
2023-09-01 16:27:50 +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
|
|
|
}
|