2021-06-13 15:31:16 +00:00
|
|
|
#!/usr/bin/env -S bash ../.port_include.sh
|
2022-06-02 20:05:04 +00:00
|
|
|
port='composer'
|
2023-09-01 16:48:48 +00:00
|
|
|
version='2.5.8'
|
2023-07-10 11:10:29 +00:00
|
|
|
files=(
|
2023-09-01 16:48:48 +00:00
|
|
|
"https://getcomposer.org/download/${version}/composer.phar#f07934fad44f9048c0dc875a506cca31cc2794d6aebfc1867f3b1fbf48dce2c5"
|
2023-07-10 11:10:29 +00:00
|
|
|
)
|
2023-09-01 13:27:50 +00:00
|
|
|
depends=(
|
|
|
|
'php'
|
|
|
|
)
|
2021-06-13 15:31:16 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
:
|
|
|
|
}
|
|
|
|
|
|
|
|
install() {
|
2022-06-02 20:05:04 +00: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 15:31:16 +00:00
|
|
|
}
|