blob: 1df83fd6fc7eb1e26482448ca9b39d4643ad6837 (
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
|
# Maintainer: Mark Wagie <mark dot wagie at proton dot me>
pkgname=libpqmarble
pkgver=1.3.0+12+gf240b2e
pkgrel=5
pkgdesc="Utility library for GNOME apps."
arch=('x86_64')
url="https://gitlab.gnome.org/raggesilver/marble"
license=('GPL-3.0-or-later')
depends=('gtk4')
makedepends=('git' 'gobject-introspection' 'meson' 'vala')
provides=('libpqmarble.so=2')
conflicts=('libmarble')
_commit=f240b2ec7d5cdacb8fdcc553703420dc5101ffdb # branch/master
source=("git+https://gitlab.gnome.org/raggesilver/marble.git#commit=${_commit}"
"libmarblepq-2.0.0-alt-css-provider-build-fix.patch")
sha256sums=('5965922dc0451b81ebd065fefbc3e13a02369659545c9f7c2c15d06dc46447a5'
'fb176a2a3fb7f0042f454dbd6b24206e108094168666e42c8d94385b90662f7f')
pkgver() {
cd marble
git describe --tags | sed 's/^v//;s/-/+/g'
}
prepare() {
cd marble
# https://gitlab.gnome.org/raggesilver/marble/-/issues/12
patch -Np1 -i ../libmarblepq-2.0.0-alt-css-provider-build-fix.patch
}
build() {
arch-meson marble build
meson compile -C build
}
package() {
meson install -C build --destdir "$pkgdir"
}
|