pkgname=icalingua++ _pkgname=icalingua pkgver=2.7.8 pkgrel=1 pkgdesc='A branch of deleted Icalingua,with limited support' license=('AGPL3') depends=('ffmpeg' 'electron' 'libappindicator-gtk3') optdepends=('mongodb-bin: Provides storage' 'redis: Provides storage') arch=('aarch64' 'x86_64') url="https://gh.dmnb.cf/https://github.com/Icalingua-plus-plus/Icalingua-plus-plus" provides=('electron-qq' 'icalingua') conflicts=('electron-qq') replaces=('electron-qq' "icalingua-plus-plus") source=(512x512.png ${_pkgname}.desktop ${_pkgname}) source_x86_64=("app-x86_64-${pkgver}.asar::https://gh.dmnb.cf/https://github.com/Icalingua-plus-plus/Icalingua-plus-plus/releases/download/v${pkgver//_/-}/app-x86_64.asar") source_aarch64=("app-aarch64-${pkgver}.asar::https://gh.dmnb.cf/https://github.com/Icalingua-plus-plus/Icalingua-plus-plus/releases/download/v${pkgver//_/-}/app-arm64.asar") source_i686=("app-i686-${pkgver}.asar::https://gh.dmnb.cf/https://github.com/Icalingua-plus-plus/Icalingua-plus-plus/releases/download/v${pkgver//_/-}/app-ia32.asar") package() { install -Dm644 -t "${pkgdir}/usr/share/applications" "${_pkgname}.desktop" install -Dm644 "512x512.png" "$pkgdir/usr/share/icons/hicolor/512x512/apps/$_pkgname.png" install -Dm644 "app-${CARCH}-${pkgver}.asar" "${pkgdir}/usr/lib/${_pkgname}/${_pkgname}.asar" install -Dm755 "${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}" ln -s "/usr/bin/${_pkgname}" "${pkgdir}/usr/bin/electron-qq" } sha256sums=('84c8585e8c18504ed83b0d199831b55b9f8f0eb0a5aa4cb9e3dc01b4a17d0e38' '43da1c99b7a6aee974c20da3bcf925b660dff4ba44a447c86066c84c8bc95fbd' '33a02b61af9cd48abd332b6a13964c939649c7ec089bc1a1aca4014bbb8785d2') sha256sums_aarch64=('47fd8678e46a48752bff4b55eb9773d412449e665e12a1e581aeef36881e11d0') sha256sums_x86_64=('e30a40625443c18e007016dade2888f8684ec97908aab0d789e1104d92669af1')