aboutsummaryrefslogtreecommitdiffstats
path: root/community/lagrange/APKBUILD
blob: 201142aaf76d73b4719ca31bf08b7f841e9f77be (plain) (blame)
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
# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=lagrange
pkgver=1.13.6
pkgrel=0
pkgdesc="Beautiful Gemini client"
url="https://gmi.skyjake.fi/lagrange"
license="BSD-2-Clause"
arch="all"
makedepends="cmake zip fribidi-dev harfbuzz-dev libunistring-dev libwebp-dev
	mpg123-dev openssl1.1-compat-dev pcre-dev sdl2-dev zlib-dev"
subpackages="$pkgname-doc"
source="https://git.skyjake.fi/gemini/lagrange/releases/download/v$pkgver/lagrange-$pkgver.tar.gz"
options="!check" # no test suite

[ "$CARCH" = "riscv64" ] && options="$options textrels"


build() {
	cmake -B build \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DENABLE_POPUP_MENUS=OFF \
		-DENABLE_RESIZE_DRAW=OFF
	cmake --build build
}

package() {
	DESTDIR="$pkgdir" cmake --install build
}

sha512sums="
a7693d8bc63c14004def4ce7ae5e5ebcd15c8e91b993b1735dbbaef6fbebb3f732eced8223ae46c4fef951a23e2d8558cd07d3d163c9e3f1c120b7db477d11c1  lagrange-1.13.6.tar.gz
"