# Maintainer: Dang Mai pkgname=sfdx-cli pkgver="7.181.1" 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.181.1/05b8719/sfdx-v7.181.1-05b8719-linux-x64.tar.gz") source_arm=("https://developer.salesforce.com/media/salesforce-cli/sfdx/versions/7.181.1/05b8719/sfdx-v7.181.1-05b8719-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=("33efaff3f39937ebc2ec76660b2522ca8625e1f1ca47aea84d042d9b9b755b00") sha256sums_arm=("846816ff48e788705285f4765ff48dce23c4224bdc1f38e9880d626530d16969")