diff options
author | prspkt <prspkt@protonmail.com> | 2019-06-20 23:34:59 +0300 |
---|---|---|
committer | prspkt <prspkt@protonmail.com> | 2019-06-21 00:26:30 +0300 |
commit | 3cdf35f1bdbecde3c38e07bb7ad887a3596c45c6 (patch) | |
tree | 2963b238aa37e7b783308f6d9c09129a059d02ae /community/newsboat | |
parent | 7f357f93ada268b628aadc6c06c7bbe14b15577b (diff) | |
download | aports-3cdf35f1bdbecde3c38e07bb7ad887a3596c45c6.tar.bz2 aports-3cdf35f1bdbecde3c38e07bb7ad887a3596c45c6.tar.xz |
main/newsboat: move to community
Diffstat (limited to 'community/newsboat')
-rw-r--r-- | community/newsboat/APKBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/community/newsboat/APKBUILD b/community/newsboat/APKBUILD new file mode 100644 index 0000000000..2fc835eabe --- /dev/null +++ b/community/newsboat/APKBUILD @@ -0,0 +1,35 @@ +# Maintainer: Mike Crute <mike@crute.us> +pkgname=newsboat +pkgver=2.14.1 +pkgrel=0 +pkgdesc="RSS/Atom feed reader for text terminals" +url="https://newsboat.org" +arch="all" +license="MIT" +replaces="newsbeuter" +provides="newsbeuter=$pkgver-r$pkgrel" +makedepends="asciidoc cargo curl-dev gettext-dev json-c-dev libxml2-dev + ncurses-dev perl sqlite-dev stfl-dev" +subpackages="$pkgname-doc $pkgname-lang" +source="https://github.com/newsboat/newsboat/archive/r$pkgver.tar.gz" + +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="b2aad9ed1e358ade1417d57ac1caff7eea2c69a497c971591e700679edf8164ac0ecf557bf0e746cc2a0b263d09110fa8433769c69eda3a81ae97a9029425e2e r2.14.1.tar.gz" |