aboutsummaryrefslogtreecommitdiffstats
path: root/testing/deja-dup/APKBUILD
blob: f79729b8ebafacb6ff7c9fa9bb5e37e30073b2af (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
36
37
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=deja-dup
pkgver=40.6
pkgrel=0
pkgdesc="Simple backup tool for GNOME"
url="https://wiki.gnome.org/Apps/DejaDup"
arch="all !s390x" # Nautilus
license="GPL-3.0-or-later"
makedepends="meson gtk+3.0-dev gnome-online-accounts-dev json-glib-dev
	nautilus-dev libsecret-dev libsoup-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() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=release \
		. output
	ninja -C output
}

check() {
	ninja -C output test
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="98157f578181e828d4c0627a2d7ddcbcdae6e423ef2295603271fe11bacf5866a6db3dbf8633305fe44cdff49cf17ac643ab90b0d5b769fd265fd817ea11886f  deja-dup-40.6.tar.gz"