# Maintainer: The one with the braid pkgname=fluffychat-bin _pkgname=fluffychat pkgver=1.14.2 pkgrel=1 pkgdesc="Chat with your friends" arch=('x86_64') # 'aarch64' url="https://fluffychat.im/" license=('AGPL3') depends=('gtk3' 'jsoncpp' 'libsecret' 'xdg-user-dirs' 'zenity' 'libolm') makedepends=('unzip') provides=("$_pkgname") conflicts=("$_pkgname") source_x86_64=("fluffychat-v${pkgver}_x86_64.tar.gz::https://github.com/krille-chan/fluffychat/releases/download/v${pkgver}/fluffychat-linux-x64.tar.gz") #source_aarch64=("fluffychat-v${pkgver}_aarch64.tar.gz::https://github.com/krille-chan/fluffychat/releases/download/v${pkgver}/fluffychat-linux-arm64.tar.gz") sha256sums_x86_64=('bbc366c0371a5fb8c9f3cdab411453bc975ae8a6493ca607210a9072649df6a5') # sha256sums_aarch64=('f3a25daebf0a4e827268f1005944b8c1b359b946b22ee8a792937e1babc40869') package() { # install install -dm755 ${pkgdir}/opt/${_pkgname}/ mv build/linux/*/release/bundle/fluffychat ${pkgdir}/opt/${_pkgname}/ mv build/linux/*/release/bundle/data ${pkgdir}/opt/${_pkgname}/ mv build/linux/*/release/bundle/lib ${pkgdir}/opt/${_pkgname}/ # link install -dm755 ${pkgdir}/usr/bin ln -s /opt/${_pkgname}/${_pkgname} ${pkgdir}/usr/bin/${_pkgname} # icon install -Dm 644 ${pkgdir}/opt/${_pkgname}/data/flutter_assets/assets/favicon.png ${pkgdir}/usr/share/pixmaps/${_pkgname}.png # desktop entry install -dm 755 "${pkgdir}/usr/share/applications" cat > ${pkgdir}/usr/share/applications/${_pkgname}.desktop << EOF [Desktop Entry] Type=Application Version=${pkgver} Name=FluffyChat Comment=Open. Nonprofit. Cute. Easy to use (matrix) messenger. Secure and decentralized. Exec=/opt/${_pkgname}/${_pkgname} Icon=${_pkgname} Terminal=false EOF } # vim: set sw=2 ts=2 et: