# Contributor: Rasmus Thomsen # Maintainer: Rasmus Thomsen pkgname=deja-dup pkgver=44.2 pkgrel=0 pkgdesc="Simple backup tool for GNOME" url="https://wiki.gnome.org/Apps/DejaDup" arch="all" license="GPL-3.0-or-later" depends=" dbus:org.freedesktop.Secrets duplicity py3-requests-oauthlib " makedepends=" appstream-glib desktop-file-utils gtk4.0-dev itstool json-glib-dev libadwaita-dev libsecret-dev libsoup3-dev meson vala " checkdepends=" coreutils diffutils " subpackages="$pkgname-lang $pkgname-doc" source="https://gitlab.gnome.org/World/deja-dup/-/archive/$pkgver/deja-dup-$pkgver.tar.gz" options="!check" # fail hard on builders, work on CI and locally build() { abuild-meson -Db_lto=true . output meson compile -C output } check() { meson test --no-rebuild --print-errorlogs -C output } package() { DESTDIR="$pkgdir" meson install --no-rebuild -C output } sha512sums=" c20767e3ba13d6be64c38919a374cfefce6707e5147ef8a6509e82fa207b0db0d705f7fd5e92d848ce95e189c668ce760b0e914d66002335747797217fb40575 deja-dup-44.2.tar.gz "