# Maintainer: Mike Crute pkgname=newsboat pkgver=2.10.1 pkgrel=1 pkgdesc="An RSS/Atom feed reader for text terminals" url="https://newsboat.org/" arch="all" license="MIT" replaces="newsbeuter" provides="newsbeuter=$pkgver-r$pkgrel" makedepends=" asciidoc curl-dev gettext-dev json-c-dev libxml2-dev ncurses-dev libressl-dev perl sqlite-dev stfl-dev " subpackages="$pkgname-doc $pkgname-lang" source="https://github.com/newsboat/newsboat/archive/r$pkgver.tar.gz newsbeuter-2.10.1-ncurses6.patch musl_const.patch use-wchar_t-to-hold-current-input-character.patch " builddir="$srcdir/$pkgname-r$pkgver" build() { cd "$builddir" ./config.sh echo "LDFLAGS+=-lintl" >> config.mk make prefix=/usr } check() { cd "$builddir" make prefix=/usr test } package() { cd "$builddir" make DESTDIR="$pkgdir" prefix=/usr install } sha512sums="38fa67fce209b1e80173749de145317696153c6d53ecc6a6200f34b2f9812d9578738fdc4f8ead64b0a47d2d2a75b79fbadf4057d7187f49540fde399aaa7b62 r2.10.1.tar.gz 337f2d9700b80a4abdfa9db69cd8242cf7465607fbf3e39aff33594c04f2132c13d4b2348ccc1868cd898780663e10ee5e59d45fe58e7d4a01723bced10c9af9 newsbeuter-2.10.1-ncurses6.patch e0accc30c078c068f3e2a90e2b28c1759856ae4310ebadc5591fa008333c346afff8d874c3a62b3310c29cbf68194fd737bb43d8fc03504dd2ba866ff8ea199f musl_const.patch 66963e6d6cb1e94523f64b7b2d16e4f3e34629750fdf29fcf30e7181b14cbb9f812afec0542a1b49e9b68f6759e919d72d98162bc980e436c8d357c7df53ad09 use-wchar_t-to-hold-current-input-character.patch"