summaryrefslogtreecommitdiff
path: root/testing/geopard/APKBUILD
blob: fffbff508bd532e42f6b592e300641a691abe1de (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.3.0
pkgrel=0
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="
035ffef5940636135ac52c45743be25ba52e44c2c3224af19b28b8ef6ab4a6bd8f2b01cc1be9784188f608a57ac9fea135e368cf117bc14534eb496d1a7d0e91  geopard-1.3.0.tar.xz
"