summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d5b37229957575ae94dba86899d72fd01ae2932c (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
30
31
32
33
34
35
# Maintainer: Philip Goto <philip.goto@gmail.com>

pkgname=crosswords-git
pkgver=0.3.3+5+ga15bbb0
pkgrel=1
pkgdesc='Crossword player and editor for GNOME'
arch=(x86_64 aarch64)
url='https://gitlab.gnome.org/jrb/crosswords'
license=(GPL3)
depends=(
	libadwaita-git
	libipuz
	python
)
makedepends=(git meson)
source=("git+${url}.git")
b2sums=(SKIP)

pkgver() {
 	cd crosswords
 	git describe --tags | sed 's/-/+/g'
}

build() {
	arch-meson crosswords build -Ddevelopment=false
	meson compile -C build
}

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

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