summaryrefslogtreecommitdiff
path: root/Ports/composer
diff options
context:
space:
mode:
authorJelle Raaijmakers <jelle@gmta.nl>2021-06-13 17:31:16 +0200
committerLinus Groh <mail@linusgroh.de>2021-06-13 17:06:45 +0100
commitba7e0253207cdbb4798752ac950362b0f84b851b (patch)
tree65c1a908057c04aa3e908bec7fca325733bc1ec0 /Ports/composer
parent3fa5b2793140440ffcab589a3beb4241931bf4b3 (diff)
downloadserenity-ba7e0253207cdbb4798752ac950362b0f84b851b.zip
Ports: Add Composer
Diffstat (limited to 'Ports/composer')
-rwxr-xr-xPorts/composer/package.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/Ports/composer/package.sh b/Ports/composer/package.sh
new file mode 100755
index 0000000000..436f8fbe8c
--- /dev/null
+++ b/Ports/composer/package.sh
@@ -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}
+}