blob: 88f2f1591347dc5b09af127b678e42a9de2ec3f4 (
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
|
# Maintainer:
# Contributor: Mark Wagie <mark dot wagie at proton dot me>
# Contributor: Triss Healy (trissylegs) <th at trissyle dot gs>
pkgname=libshumate-git
pkgver=1.0.0.beta.r6.g125757b
pkgrel=1
pkgdesc="GTK toolkit providing widgets for embedded maps"
arch=('x86_64' 'aarch64')
url="https://wiki.gnome.org/Projects/libshumate"
license=('LGPL')
depends=('gtk4' 'libsoup3' 'sqlite')
makedepends=('gi-docgen' 'git' 'gobject-introspection' 'gtk-doc' 'meson' 'vala')
provides=("${pkgname%-git}" "${pkgname%-git}-1.0.so=1")
conflicts=("${pkgname%-git}")
source=("git+https://gitlab.gnome.org/GNOME/libshumate.git")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
arch-meson "${pkgname%-git}" build
meson compile -C build
}
check() {
meson test -C build --print-errorlogs
}
package() {
meson install -C build --destdir "$pkgdir"
}
|