summaryrefslogtreecommitdiff
path: root/testing/geopard/APKBUILD
blob: c5df9157fcb6fff478cafcb16f9803b0b29474ac (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
41
42
43
# Contributor: knuxify <knuxify@gmail.com>
# Maintainer: knuxify <knuxify@gmail.com>
pkgname=geopard
pkgver=1.2.0
pkgrel=1
pkgdesc="Colorful, adaptive gemini browser"
url="https://ranfdev.com/projects/geopard/"
arch="all !s390x !riscv64" # blocked by cargo -> rust / gtk4.0
license="GPL-3.0-or-later"
makedepends="
	blueprint-compiler
	cargo
	desktop-file-utils
	glib-dev
	gtk4.0-dev
	libadwaita-dev
	meson
	openssl-dev>3
	"
source="$pkgname-$pkgver.tar.xz::https://github.com/ranfdev/Geopard/releases/download/v$pkgver/com.ranfdev.Geopard.tar.xz"
options="!check" # no test suite

prepare() {
	default_prepare
	rm -rf "$builddir"/subprojects/blueprint-compiler
}

build() {
	abuild-meson . output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	meson test --no-rebuild -v -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
b3482ae5a1bfc4e15f8a16b19a18191bec1ec1066646b5207ebdecf2a42192a6cffdec22f64c52a1447f1696a32f17cd01c9e507b3c69b6b8a0eed96dc80916f  geopard-1.2.0.tar.xz
"