summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 63771568db3d44451eb9db3b4736ac2812101cd8 (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=hackgregator
pkgver=0.4.0
pkgrel=1
pkgdesc="This application is a comfortable reader application for news.ycombinator.com"
arch=('x86_64')
url="https://gitlab.com/gunibert/hackgregator"
license=('GPL3')
depends=('glib2' 'libadwaita' 'libsoup3' 'json-glib' 'webkit2gtk-5.0')
makedepends=('meson' 'cargo')
checkdepends=('appstream-glib')
source=($url/-/archive/$pkgver/$pkgname-$pkgver.tar.gz)
b2sums=('d25a9561bf3cd89da54a782feb4674f6b8cd42a1f9ea104aa81f00f2c94976ea715820d203896ea526be3a6a9739e3893f335356436cbe564926a6e2600b35f9')

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

check() {
  meson test -C build
}

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