# Maintainer: Dang Mai pkgname=sfdx-cli pkgver="7.190.2" pkgrel=1 _dirname="${pkgname}-v${pkgver}" pkgdesc="a tool for creating and managing Salesforce DX projects from the command line" arch=('x86_64' 'arm') 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.190.2/cd6cf69/sfdx-v7.190.2-cd6cf69-linux-x64.tar.gz") source_arm=("https://developer.salesforce.com/media/salesforce-cli/sfdx/versions/7.190.2/cd6cf69/sfdx-v7.190.2-cd6cf69-linux-arm.tar.gz") package() { 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=("8a5a39309dbcbddfd8cc5a9c9988241f53be2e1f2b02cef8c763c05cf7a4a2cb") sha256sums_arm=("b66421cd4153537b4589c128817f94a08f1b29b38cfe972871d4a5532cc20d67")