aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kgx/APKBUILD
blob: ede0e5e81e9adffc1ba34e46650fd6720315ee52 (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
38
39
40
# Maintainer: David Heidelberg <david@ixit.cz>
# Contributor: David Heidelberg <david@ixit.cz>
pkgname=kgx
pkgver=0.2.1
pkgrel=1
pkgdesc="A minimal terminal for GNOME"
url="https://gitlab.gnome.org/ZanderBrown/kgx"
arch="all !s390x !ppc64le !mips !mips64" # !s390x !ppc64le due gnome-shell
license="GPL-3.0-only"
options="!check" # Tests require GIR
depends="dbus desktop-file-utils gsettings-desktop-schemas"
makedepends="dconf-dev gnome-shell gsettings-desktop-schemas-dev nautilus-dev vte3-dev
	glib-dev intltool itstool libhandy-dev libgtop-dev pcre2-dev meson vala"
subpackages="$pkgname-lang"
source="https://gitlab.gnome.org/ZanderBrown/kgx/-/archive/$pkgver/kgx-$pkgver.tar.gz"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--buildtype=plain \
		-Dgtop=true \
		-Dgtk_doc=false \
		-Dgir=false \
		-Dgeneric=true \
		-Dtests=false \
		. output
	ninja -C output
}

check() {
	ninja -C output test
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="f1d19661472cec0f8cab30ba38608d5d7029f56d85bd99b315c841ae859059ef8ab90add0c530dcc3d95ba00e67bbb9127e537ceea5165c5e47c382a15445502  kgx-0.2.1.tar.gz"