summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 428513e3dbe029f08d4491ee3d74444e74cab077 (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
# Maintainer: Igor Dyatlov <dyatlov.igor@protonmail.com>

pkgname=hypatia
pkgver=0.1.1
pkgrel=1
pkgdesc="A research helper tool that provides context and information about interesting topics."
arch=('x86_64' 'aarch64')
url="https://github.com/HypatiaProject/hypatia"
license=('GPL3')
depends=('libadwaita' 'libgee' 'libsoup3' 'json-glib')
makedepends=('meson' 'gobject-introspection' 'vala')
checkdepends=('appstream-glib')
source=($url/archive/$pkgver.tar.gz)
b2sums=('4cc26adb7786f59b69dcc6c75763c35e663e26a9f9dedd96d25f643c548cf468f2d829d41da89edb4c3055d93b4b337f0d0ca8076a168582601b6309198f4bb4')

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

check() {
  meson test -C build || :
}

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