# Contributor: ITmodulo # Maintainer: ITmodulo pkgname=celeste pkgver=0.8.3 pkgrel=0 pkgdesc="GUI file synchronization client that can sync with any cloud provider" url="https://github.com/hwittenborn/celeste" license="GPL-3.0-only" arch="all" makedepends="rustup clang clang-dev clang-extra-tools go rclone libadwaita-dev cairo-dev glib-dev gobject-introspection-dev gtk4.0-dev" depends="rclone" source="$pkgname-$pkgver.tar.gz::https://github.com/hwittenborn/celeste/archive/refs/tags/v$pkgver.tar.gz" prepare() { default_prepare rustup-init -y --default-toolchain nightly source ~/.cargo/env cargo update cargo fetch --target="$CTARGET" } build() { source ~/.cargo/env cargo build --frozen --release } check() { source ~/.cargo/env cargo test --release --locked } package() { ls -lah install -Dm755 target/release/bin/$pkgname -t "$pkgdir"/usr/bin/ # install -Dm644 res/appicon.png "$pkgdir"/usr/share/pixmaps/supersonic-desktop.png # install -Dm644 res/supersonic-desktop.desktop "$pkgdir"/usr/share/applications/supersonic-desktop.desktop } sha512sums=" 64583daba4242a86e81764cb2e62b8024c5442417464a89ac1efe3aa97d06563f6bac53464fe7b4d41866e85027a28e08fdf744ba34bff854210e796700a83c3 celeste-0.8.3.tar.gz "