aboutsummaryrefslogtreecommitdiffstats
path: root/community/deja-dup/APKBUILD
blob: 881e48d4b3275207586bc7c573d0d93f120f1421 (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=deja-dup
pkgver=42.6
pkgrel=0
pkgdesc="Simple backup tool for GNOME"
url="https://wiki.gnome.org/Apps/DejaDup"
arch="all !s390x !mips !mips64" # libhandy
license="GPL-3.0-or-later"
depends="dbus:org.freedesktop.Secrets"
makedepends="meson gtk+3.0-dev json-glib-dev libhandy-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() {
	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="c3c78ddf876487c228d2c923760d9bfea403cb4f4631cd4c9c24c8023e619115bf050e503e78fbeee3d3f0bfe2063b305e74304375b7f9fcb29c288334349be1  deja-dup-42.6.tar.gz"