summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8aec6aeeae65a6978484cecad75ca5c586d5d690 (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=sudoku
pkgname=$_pkgname-gtk3
pkgver=1.0.7
pkgrel=1
pkgdesc='Sudoku game'
url="https://github.com/alexkdeveloper/sudoku"
arch=('x86_64' 'aarch64')
license=('GPL3')
depends=('gtk3' 'qqwing')
makedepends=('git' 'meson' 'vala')
checkdepends=('appstream-glib')
source=("git+$url.git#tag=$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
  ln -s com.github.alexkdeveloper.$_pkgname "$pkgdir/usr/bin/$pkgname"
}