# Maintainer: Dang Mai pkgname=sfdx-cli pkgver="7.165.0" pkgrel=1 _dirname="${pkgname}-v${pkgver}" pkgdesc="a tool for creating and managing Salesforce DX projects from the command line" arch=('x86_64') url="https://developer.salesforce.com/tools/sfdxcli" license=('unknown') optdepends=('gnome-keyring: saving default credentials') provides=('sfdx-cli') options=(!strip) conflicts=() source_x86_64=("https://developer.salesforce.com/media/salesforce-cli/sfdx/versions/7.165.0/65b4bb0/sfdx-v7.165.0-65b4bb0-linux-x64.tar.gz") package() { _arch="x64" cd "${srcdir}" install -dm 755 "${pkgdir}"/opt install -dm 755 "${pkgdir}"/usr/bin sfdx_dir="sfdx" cp -a "${sfdx_dir}" "${pkgdir}"/opt/sfdx-cli ln -s /opt/sfdx-cli/bin/sfdx "${pkgdir}"/usr/bin/sfdx ln -s /opt/sfdx-cli/bin/sf "${pkgdir}"/usr/bin/sf } sha256sums_x86_64=("fa680f00e606aefea458313c8f0a608f9b2e94a1c413bf48f6165f85e7476c82")