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

pkgname=ultimate-tic-tac-toe
pkgdesc='Play Ultimate Tic Tac Toe'
pkgver=0.1.3
pkgrel=1
arch=('aarch64' 'x86_64')
url="https://github.com/Nokse22/ultimate-tic-tac-toe"
license=('GPL3')
depends=('libadwaita' 'python')
makedepends=('git' 'meson')
checkdepends=('appstream-glib')
source=("git+$url.git#tag=v$pkgver")
sha256sums=('SKIP')

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

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

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