blob: 5d6f9ef9ddb9c961eee053f80588b8f09043b2a5 (
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
|
# Maintainer: Mark Wagie <mark dot wagie at tutanota dot com>
pkgname=pika-backup
pkgver=0.2.0+1+g2068188
pkgrel=1
pkgdesc="Simple backups based on borg"
arch=('x86_64')
url="https://gitlab.gnome.org/World/pika-backup"
license=('GPL')
depends=('borg' 'gtk3' 'libhandy' 'python-llfuse')
makedepends=('git' 'meson' 'rust')
_commit=20681880551bab970ce249138354412e5ebf3e65
source=("git+https://gitlab.gnome.org/World/pika-backup.git#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname"
git describe --tags | sed 's/^v//;s/-/+/g'
}
prepare() {
cd "$srcdir/$pkgname"
# Remove single process limit
sed -i '/codegen-units/d' Cargo.toml
# Disable update-desktop-database & gtk-update-icon-cache
sed -i '20,24d' data/meson.build
sed -i '44,49d' data/meson.build
}
build() {
arch-meson "$pkgname" build
meson compile -C build
}
check() {
meson test -C build
}
package() {
DESTDIR="$pkgdir" meson install -C build
}
|