summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: eb60687e02aba20bbbf88e0cc22f50e2d00bee18 (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
# Maintainer: begin-theadventure <begin-thecontact.ncncb at dralias dot com>
# Contributor: Dušan Simić <dusan.simic1810@gmail.com>

pkgname=colorway
_commit=b7ff8cf47032251b62e55798c6808f226bd21392
pkgver=1.2.0
pkgrel=3
pkgdesc="Generate color pairings"
url="https://github.com/lainsce/colorway"
license=('GPL-3.0-or-later')
arch=('x86_64' 'aarch64')
depends=('json-glib' 'libadwaita' 'libgee' 'libhelium')
makedepends=('git' 'meson' 'vala')
checkdepends=('appstream-glib')
source=("git+$url.git#commit=$_commit")
sha256sums=('SKIP')

build() {
  arch-meson colorway build
  meson compile -C build
}

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

package() {
  meson install -C build --destdir "$pkgdir"
  mkdir -p "$pkgdir/usr/bin"
  ln -s /usr/bin/io.github.lainsce.Colorway "$pkgdir/usr/bin/colorway"
}