blob: e9a3d76f60b850346883d6305dadc20e45070f25 (
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
44
45
46
47
48
49
50
51
52
53
54
55
|
# Maintainer (aur): Roshless <pkg@roshless.com>
# Maintainer: Iván Ávalos <avalos@disroot.org>
# Contributor: bill-auger <bill-auger@programmer.net>
pkgname=lagrange
pkgrel=1
pkgver=1.6.5
pkgdesc="Beautiful Gemini Client"
url="https://gmi.skyjake.fi/lagrange/"
arch=('x86_64' 'i686' 'aarch64' 'armv7h')
license=("BSD2")
source=(
"https://git.skyjake.fi/skyjake/$pkgname/releases/download/v$pkgver/lagrange-$pkgver.tar.gz"
)
depends=(
"fribidi"
"harfbuzz"
"hicolor-icon-theme"
"libunistring"
"openssl"
"pcre"
"sdl2"
)
optdepends=("mpg123")
makedepends=("cmake")
prepare() {
cd "$srcdir"/$pkgname-$pkgver
# delete vendored libs - use system libs instead
rm -rf lib/fribidi/
rm -rf lib/harfbuzz/
}
build() {
cmake -B build -S "$pkgname-${pkgver}" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX='/usr' \
-DENABLE_KERNING=OFF \
-DTFDN_ENABLE_WARN_ERROR=OFF \
-DENABLE_FRIBIDI_BUILD=OFF \
-DENABLE_HARFBUZZ_MINIMAL=OFF \
-Wno-dev
make -C build
}
package() {
install -Dm644 $pkgname-$pkgver/LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
cd build
make DESTDIR="$pkgdir" install
}
sha256sums=('c971850414aefad2e5f38659c173cdc2f765bfcf158a32c84b5c61294558b00f')
|