Package Details: karlender 0.10.4-1

Git Clone URL: https://aur.archlinux.org/karlender.git (read-only, click to copy)
Package Base: karlender
Description: An apative GTK-4 calendar app.
Upstream URL: https://gitlab.com/floers/karlender
Licenses: GPL-3.0-only
Submitter: igor-dyatlov
Maintainer: None
Last Packager: TrialnError
Votes: 1
Popularity: 0.000023
First Submitted: 2022-08-04 17:55 (UTC)
Last Updated: 2024-06-08 21:36 (UTC)

Latest Comments

bionade24 commented on 2023-11-13 22:48 (UTC)

Updated PKGBUILD:

# Maintainer: Igor Dyatlov <dyatlov.igor@protonmail.com>

pkgname=karlender
_app_id=codes.loers.Karlender
pkgver=0.10.4
pkgrel=1
pkgdesc="An apative GTK-4 calendar app."
arch=('x86_64' 'aarch64')
url="https://gitlab.com/floers/karlender"
license=('GPL3')
depends=('libadwaita' 'libnotify')
makedepends=('cargo')
checkdepends=('appstream-glib')
source=($url/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz)
b2sums=('63e482326e9471ba89a864b948ce1f2163f98d9b6c8c90e9bd05e3dc4d6dd717dbd4cf1508568f98750d2133562799e77a9d000d49a1dd7a0f64c206857ecba8')
options=(!lto)

build() {
  cd "$pkgname-v$pkgver"

  cargo install cargo-gra --locked
  cargo gra gen
  cargo build --release
}

package() {
  cd "$pkgname-v$pkgver"

  make -C target/gra-gen install ROOT="$pkgdir/usr"

  rm "$pkgdir/usr/share/glib-2.0/schemas/gschemas.compiled"
}

bionade24 commented on 2023-11-11 12:09 (UTC) (edited on 2023-11-11 12:10 (UTC) by bionade24)

Does not build in a clean chroot/via extra-x86_64-build: https://bpa.st/MRP7XMVADBIOUEIIFS43UNP77U

mikehenson commented on 2023-06-22 17:14 (UTC) (edited on 2023-06-22 17:17 (UTC) by mikehenson)

Thank you!
Will you please add a prepare() before the build() with

prepare() {
cd "$pkgname-v$pkgver"
cargo gra gen
}

Source:
https://gitlab.com/floers/karlender/-/issues/18