summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f4cfebf8d1d6f145487c83e9b788aef2ee410ef0 (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
# Maintainer: begin-theadventure <begin-thecontact.ncncb at dralias dot com>

pkgname=trivia-quiz
pkgver=1.0.1
_commit=192ca631bdfdf1519565c2c8a6587e24c6f4b1da
pkgrel=1
pkgdesc='Respond to endless questions'
url="https://github.com/Nokse22/trivia-quiz"
license=('GPL-3.0-or-later')
arch=('x86_64' 'aarch64')
depends=('libadwaita' 'python-gobject' 'python-requests')
makedepends=('git' 'meson')
checkdepends=('appstream-glib')
source=("git+$url.git#commit=$_commit")
sha256sums=('SKIP')

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

check() {
  meson test -C build --no-rebuild --print-errorlogs
}

package() {
  meson install -C build --no-rebuild --destdir "$pkgdir"
  chmod +x "$pkgdir/usr/bin/$pkgname"
}