aboutsummaryrefslogtreecommitdiffstats
path: root/community/lagrange/APKBUILD
blob: cfa06098aebfa7faf391cb40d759f916eeb92a8f (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.7
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="
7bbc2acc63778d5130ffbaf6c53279c59caadf7a7a4078516e624d6f670ca71cedb4c96f4b19f8280467b9edaf7c71c19e4b446d04a77417a3568cc0a8fc7b59  lagrange-1.13.7.tar.gz
"