summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 20fc9e902e5c284316e4515191698ce36ae5906f (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
# Maintainer: Mark Wagie <mark dot wagie at tutanota dot com>
pkgname=pika-backup
pkgver=0.1.1
pkgrel=1
pkgdesc="Simple backups based on borg"
arch=('x86_64')
url="https://gitlab.gnome.org/World/pika-backup"
license=('GPL')
depends=('borg' 'gtk3')
makedepends=('cargo' 'meson')
source=("$url/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz")
sha256sums=('7f515c2ca174e0e61430c877da9f8f5fb45ccf7d7116cbbf24a1c678fd0863f1')

build() {
	arch-meson "$pkgname-v$pkgver" build
	meson compile -C build
}

check() {
	#meson test -C build

	cd "$pkgname-v$pkgver"
	cargo test
}

package() {
	DESTDIR="$pkgdir" meson install -C build
}