summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b65cb4d73a028328c9938ab6bcdb224aaf1598aa (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=tags
pkgver=1.2
_commit=93e8a5b42a16eea8e3034b823a8b977b57865c64
pkgrel=1
pkgdesc='A simple text tagger'
url="https://github.com/phastmike/tags"
license=('MIT')
arch=('x86_64' 'aarch64')
depends=('json-glib' 'libadwaita')
makedepends=('git' 'meson' 'vala')
checkdepends=('appstream-glib')
source=("git+$url.git#commit=$_commit")
sha256sums=('SKIP')

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

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

package() {
  meson install -C build --destdir "$pkgdir"
  install -Dm644 tags/COPYING -t "$pkgdir/usr/share/licenses/tags"
}