aboutsummaryrefslogtreecommitdiffstats
path: root/community/deja-dup/APKBUILD
blob: 60c8f4fec802ca384f756410bc93386ca86cb9c9 (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=42.8
pkgrel=0
pkgdesc="Simple backup tool for GNOME"
url="https://wiki.gnome.org/Apps/DejaDup"
# s390x, mips64 and riscv64 blocked by rust -> libhandy
arch="all !s390x !mips64 !riscv64"
license="GPL-3.0-or-later"
depends="dbus:org.freedesktop.Secrets"
makedepends="meson gtk+3.0-dev json-glib-dev libhandy1-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="
39acfa57777f61dd9bf2b662a757048c81bbc05e043d12c1bfd9d01bbef5656ca20f391a49ddf1c12b9bb789ffe489f4f577586aa8fb8650f127685f8eedbdd0  deja-dup-42.8.tar.gz
"