aboutsummaryrefslogtreecommitdiffstats
path: root/community/deja-dup/APKBUILD
blob: 65f370783e0cef012eeb2bffe70cbbfd90b4a1ec (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.5
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="4d2fd29884bec34ecd617a415208479d9855a4a232017c8f0650e8b97f2db48ba891105b84259ee56b798e96170e4b5c433c6ec04aca48499f97000b2b6929d4  deja-dup-42.5.tar.gz"