Ports: Add Composer
This commit is contained in:
parent
3fa5b27931
commit
ba7e025320
Notes:
sideshowbarker
2024-07-18 12:18:45 +09:00
Author: https://github.com/gmta Commit: https://github.com/SerenityOS/serenity/commit/ba7e0253207 Pull-request: https://github.com/SerenityOS/serenity/pull/8040
2 changed files with 17 additions and 0 deletions
|
@ -17,6 +17,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^
|
|||
| [`chester`](chester/) | Chester Gameboy Emulator | | https://github.com/veikkos/chester |
|
||||
| [`cmake`](cmake/) | CMake | 3.19.4 | https://cmake.org/ |
|
||||
| [`cmatrix`](cmatrix/) | cmatrix | | https://github.com/abishekvashok/cmatrix |
|
||||
| [`composer`](composer/) | Composer | 2.1.3 | https://getcomposer.org/ |
|
||||
| [`curl`](curl/) | curl | 7.77.0 | https://curl.se/ |
|
||||
| [`dash`](dash/) | DASH | 0.5.10.2 | http://gondor.apana.org.au/~herbert/dash |
|
||||
| [`dialog`](dialog/) | Dialog | 1.3-20210324 | https://invisible-island.net/dialog/ |
|
||||
|
|
16
Ports/composer/package.sh
Executable file
16
Ports/composer/package.sh
Executable 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}
|
||||
}
|
Loading…
Add table
Reference in a new issue