summaryrefslogtreecommitdiff
path: root/community/deja-dup/APKBUILD
blob: ced8278b1765aa519ddbf7922a3d510f81281f3e (plain)
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# 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"
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 . output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

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

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

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