blob: fda53b110a8e8df9ade75c7d6b501412d979da48 (
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
|
# Contributor: Dmitry Zakharchenko <dmitz@disroot.org>
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=elinks
pkgver=0.16.0
pkgrel=3
pkgdesc="Advanced and well-established feature-rich text mode web browser"
url="https://github.com/rkd77/elinks/"
arch="all"
license="GPL-2.0-or-later AND GPL-3.0-or-later AND MIT AND MPL-1.1"
makedepends="
bzip2-dev
expat-dev
gettext-dev
gpm-dev
libidn2-dev
linux-headers
meson
openssl-dev>3
xmlto
zlib-dev
"
subpackages="$pkgname-doc $pkgname-lang"
source="https://github.com/rkd77/elinks/releases/download/v$pkgver/elinks-$pkgver.tar.xz
libidn2.patch
"
build() {
LDFLAGS="$LDFLAGS -lintl" \
abuild-meson \
-Db_lto=true \
-Dgettext=true \
-Dhtml-highlight=true \
-Dbacktrace=false \
-D256-colors=true \
-Dtrue-color=true \
-Dtre=false \
. output
meson compile -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
b1d6040b691610d596e0d1eae26bfe52d702272c71a2e5100ab7d6b05b24a0b88524d4fc7be3f6371e0bada1e6f0992da7505a72419ca642dec778424629a522 elinks-0.16.0.tar.xz
f0be2f109cccd38087c5ef726ace869d1d69836ec18fb30b569f601f1c6031bb565721467249a7b7151622fe6be43df7d561fc3e9a12a4c4a98c6430aebc72e1 libidn2.patch
"
|