blob: e1a1d356fb8f7bc3026be78920aceff7f64f74f7 (
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
|
# Maintainer: Igor Dyatlov <dyatlov.igor@protonmail.com>
pkgname=junction
pkgver=1.6
_commit=c9da76cae9f8e26957266a4171e7e0212dc63ef5
pkgrel=2
pkgdesc="Application/browser chooser"
arch=('x86_64')
url="https://github.com/sonnyp/Junction"
license=('GPL3')
depends=('libadwaita' 'libportal-gtk4' 'gjs')
makedepends=('git' 'meson' 'python-gobject' 'blueprint-compiler')
checkdepends=('appstream-glib')
source=("${pkgname}-${pkgver}::git+$url#commit=$_commit"
'git+https://github.com/sonnyp/troll.git')
b2sums=('SKIP'
'SKIP')
prepare() {
cd "$pkgname-$pkgver"
git submodule init
git config submodule.src/troll.url "$srcdir/troll"
git -c protocol.file.allow=always submodule update --init --recursive
}
build() {
arch-meson "$pkgname-$pkgver" build
meson compile -C build
}
check() {
meson test -C build --print-errorlogs || :
}
package() {
meson install -C build --destdir "$pkgdir"
}
|