summaryrefslogtreecommitdiff
path: root/Ports/composer/package.sh
blob: 29587f5dec0586ce9ff48fcd43fdab87bc2f0952 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env -S bash ../.port_include.sh
port='composer'
version='2.4.3'
files="https://getcomposer.org/download/${version}/composer.phar composer.phar 26d72f2790502bc9b22209e1cec1e0e43d33b368606ad227d327cccb388b609a"
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}"
}