summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6fd0c650c1b142037934da25eeab94279abb7a90 (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:  Dimitris Kiziridis <dkiziridis at outlook dot com>

pkgname=pqmarble-git
pkgver=r39.f240b2e
pkgrel=2
pkgdesc="Utility library for GNOME apps"
arch=(x86_64)
url="https://gitlab.gnome.org/raggesilver/marble"
license=(GPL3)
depends=(gtk4)
provides=(pqmarble)
conflicts=(pqmarble)
makedepends=(git meson vala gobject-introspection)
checkdepends=(appstream-glib)
source=("${pkgname}::git+${url}.git")
sha256sums=(SKIP)

pkgver() {
  cd "${pkgname}"
  echo r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}

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

check() {
  cd "${pkgname}"
  meson test -C build
}

package() {
  cd "${pkgname}"
  meson install -C build --destdir "$pkgdir"
}