# Contributor: Dmitry Zakharchenko # Contributor: Natanael Copa # Maintainer: Natanael Copa pkgname=elinks pkgver=0.16.1.1 pkgrel=0 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=" 49e03ff4766e29b6fd4324d226e415ca1329a84d4a44fac40ecd72186dd104de88c3e541810a008dc6f1d1ed889a45edbef159cbc6ac3860756ca21261ffec8a elinks-0.16.1.1.tar.xz f0be2f109cccd38087c5ef726ace869d1d69836ec18fb30b569f601f1c6031bb565721467249a7b7151622fe6be43df7d561fc3e9a12a4c4a98c6430aebc72e1 libidn2.patch "