summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 88593bc1ed0d9ef89d60e7950eb6e5618c5d7275 (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
39
40
41
42
# Maintainer: Pellegrino Prevete (tallero) <pellegrinoprevete@gmail.com>

_pkg="Health"
_pkgname="gnome-health"
pkgname="${_pkgname}-git"
pkgver=0.94.0+89+g3023723
_bcver="0.8.1+87cedc2c"
pkgrel=1
pkgdesc="A health tracking app for the GNOME desktop"
arch=(x86_64)
url="https://gitlab.gnome.org/World/${_pkg}"
license=(GPL3)
depends=(
  'libadwaita'
  'rust'
)
makedepends=(
  "blueprint-compiler-health=${_bcver}"
  'git'
  'meson')
provides=("${_pkgname}=${pkgver}")
conflicts=("${_pkgname}")
source=("git+${url}")
b2sums=('SKIP')

pkgver() {
  cd "${_pkg}"
  git describe --tags | sed 's/-/+/g'
}

prepare() {
  cd "${_pkg}"
}

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

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