summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bdc956f10d8d5276fd44180c507ab3d2b22e95d7 (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
36
37
# Maintainer: 
# Contributor: Fabio 'Lolix' Loli <fabio.loli@disroot.org>
# Contributor: LuoYi <langisme_dot_qq_com>
# Contributor: igor-dyatlov <dyatlov.igor@gmail.com>

pkgname=blackbox-terminal-git
pkgver=0.14.0.r60.gd5fff0d
pkgrel=1
pkgdesc="A beautiful GTK 4 terminal."
arch=(x86_64)
url="https://gitlab.gnome.org/raggesilver/blackbox"
license=(GPL-3.0-or-later)
depends=(glib2 libadwaita libpqmarble vte4 json-glib libgee glibc dconf graphene libxml2 pango cairo librsvg gtk4)
makedepends=(git meson vala gi-docgen)
checkdepends=(appstream-glib)
provides=(blackbox-terminal)
conflicts=(blackbox-terminal)
source=(blackbox-terminal::git+https://gitlab.gnome.org/raggesilver/blackbox.git)
b2sums=('SKIP')

pkgver() {
  cd blackbox-terminal
  git describe --long --tags --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  arch-meson blackbox-terminal build
  meson compile -C build
}

check() {
  meson test -C build
}

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