# Contributor: Newbyte # Maintainer: Newbyte pkgname=karlender pkgver=0.10.1 pkgrel=0 pkgdesc="Mobile friendly GTK based calendar app written in Rust" url="https://gitlab.com/floers/karlender" # ppc64le: build script for dependency ring 0.16.20 fails # riscv64: dependency ring v0.16.20 fails to build # s390x: doubt anyone will use this on a mainframe arch="all !ppc64le !riscv64 !s390x" license="GPL-3.0-or-later" makedepends=" cargo cargo-auditable cargo-gra libadwaita-dev " source="https://gitlab.com/floers/karlender/-/archive/v$pkgver/karlender-v$pkgver.tar.gz " options="!check" builddir="$srcdir/$pkgname-v$pkgver" prepare() { default_prepare cargo fetch --target="$CTARGET" --locked } build() { cargo gra gen cargo auditable build --release --frozen } package() { install -Dm755 target/release/karlender -t "$pkgdir"/usr/bin make -C target/gra-gen install ROOT="$pkgdir/usr" } sha512sums=" a4931a99c01509f2f14ef8a79d4280619a480494ddacf2bc2cda6818b500bb18341982d56131b3f53c9a4ded9aa5d435661c6cacc76f85c318f304db7c1cfa23 karlender-v0.10.1.tar.gz "