diff options
Diffstat (limited to 'main/newsboat/APKBUILD')
-rw-r--r-- | main/newsboat/APKBUILD | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/main/newsboat/APKBUILD b/main/newsboat/APKBUILD new file mode 100644 index 0000000000..c1375ac008 --- /dev/null +++ b/main/newsboat/APKBUILD @@ -0,0 +1,50 @@ +# Maintainer: Mike Crute <mike@crute.us> +pkgname=newsboat +pkgver=2.10.1 +pkgrel=0 +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 + " + +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" |