31 lines
933 B
Plaintext

# Contributor: Robin Candau <robincandau@protonmail.com>
# Maintainer: Robin Candau <robincandau@protonmail.com>
pkgname=timeshift
pkgver=24.06.3
pkgrel=0
pkgdesc="A system restore utility for Linux"
url="https://github.com/linuxmint/timeshift"
arch="all"
license="GPL-2.0-or-later"
depends="rsync cronie which xhost"
makedepends="help2man meson vala gtk+3.0-dev json-glib-dev vte3-dev libgee-dev xapp-dev"
subpackages="$pkgname-doc $pkgname-lang"
source="$pkgname-$pkgver.tar.gz::https://github.com/linuxmint/timeshift/archive/refs/tags/$pkgver.tar.gz"
build() {
meson setup --prefix=/usr --buildtype=plain "$srcdir/$pkgname-$pkgver" build
meson compile -C build
}
check() {
meson test -C build
}
package() {
meson install -C build --destdir "$pkgdir"
}
sha512sums="
c2746bd64b158f60117f2d464d17ef70255f36958b94b82297efe0f7e3501c840bf962aed9e9615abb394ef928c5bebdd563194ec3b875775b10f9990aabbdee timeshift-24.06.3.tar.gz
"