blob: d8ff81946b78fefd6059db4e95a30813a5e1b9fa (
plain)
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
38
39
40
41
42
43
44
45
46
47
48
|
# Maintainer: Alexander Sieg <aur at xanderio dot com>
# Contributor: Mark Wagie <mark dot wagie at tutanota dot com>
_pkgname=pika-backup
pkgname=$_pkgname-git
pkgver=0.3.0.beta.2.r231.g50956d7
pkgrel=1
pkgdesc="Simple backups based on borg"
arch=('x86_64' 'aarch64')
url="https://apps.gnome.org/app/org.gnome.World.PikaBackup"
license=('GPL')
depends=('borg' 'gtk4' 'libadwaita' 'python-llfuse')
makedepends=('cargo' 'meson' 'itstool')
provides=('pika-backup')
conflicts=('pika-backup')
source=("$_pkgname::git+https://gitlab.gnome.org/World/$_pkgname.git"
'remove-install_script.patch')
sha256sums=('SKIP'
'92f89123e206a02f614faab838ca5bc4524f72283275630c07c8fa9f3aa4f3f6')
pkgver() {
cd "$srcdir/$_pkgname"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd "$_pkgname"
# Disable update-desktop-database & gtk-update-icon-cache
patch --strip=1 data/meson.build $srcdir/remove-install_script.patch
export RUSTUP_TOOLCHAIN=stable
cargo fetch --target "$CARCH-unknown-linux-gnu"
}
build() {
export RUSTUP_TOOLCHAIN=stable
arch-meson "$_pkgname" build
meson compile -C build
}
# check() {
# export RUSTUP_TOOLCHAIN=stable
# meson test -C build --print-errorlogs
# }
package() {
meson install -C build --destdir "$pkgdir"
}
|