aboutsummaryrefslogtreecommitdiffstats
path: root/community/deja-dup/APKBUILD
blob: 21b587f1813a3ff47b60e3c23dff39d0fc83386d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=deja-dup
pkgver=43.4
pkgrel=0
pkgdesc="Simple backup tool for GNOME"
url="https://wiki.gnome.org/Apps/DejaDup"
# s390x and riscv64 blocked by rust
arch="all !s390x !riscv64"
license="GPL-3.0-or-later"
depends="dbus:org.freedesktop.Secrets duplicity py3-requests-oauthlib"
makedepends="meson gtk4.0-dev json-glib-dev libadwaita-dev
	libsecret-dev libsoup3-dev vala itstool appstream-glib
	desktop-file-utils"
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 . output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	meson test --no-rebuild -v -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
f7ea87c500953e81d8d000c71e222e29f44adcb6749fcfaba6b6c5a1e71dd03d5a6dbf0206feb5b8d266739de4f021b251eb9279123a8f001941143e764642f3  deja-dup-43.4.tar.gz
"