summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1ad3d47131edd04ab18b05d0f963c180d7d4966b (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:
# Contributor: Dušan Simić <dusan.simic1810@gmail.com>

_pkgname="health"
pkgname="$_pkgname"
pkgver=0.95.0
pkgrel=1
pkgdesc="A health tracking app for the GNOME desktop"
url="https://gitlab.gnome.org/World/Health"
license=('GPL-3.0-or-later')
arch=('x86_64')

depends=(
  'gtk4'
  'libadwaita'
)
makedepends=(
  'blueprint-compiler'
  'meson'
  'rust'
)

provides=("gnome-health=$pkgver")
conflicts=("gnome-health")

_pkgsrc="Health-$pkgver"
_pkgext="tar.gz"
source=("$_pkgname-$pkgver.$_pkgext"::"$url/-/archive/$pkgver/$_pkgsrc.$_pkgext")
sha256sums=('bf712d2142824d209a7992107620b3d9523c6315f5c6689faa027b8cbcb26fd5')

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

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