summaryrefslogtreecommitdiff
path: root/community/newsboat-og/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-05-07 21:10:34 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2021-05-07 21:10:34 +0200
commitbb4ddf068b5e1076bafd0807b3712a95c5255d21 (patch)
treeb644e19d19a1748463a6472d0490de314194456d /community/newsboat-og/PKGBUILD
parentaa45bbb5dd7dbb34ddb2f2c36c0db44ee6543590 (diff)
downloadpackages-bb4ddf068b5e1076bafd0807b3712a95c5255d21.tar.xz
community/newsboat-og: added as replacement for newsboat on i486
Diffstat (limited to 'community/newsboat-og/PKGBUILD')
-rw-r--r--community/newsboat-og/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/community/newsboat-og/PKGBUILD b/community/newsboat-og/PKGBUILD
new file mode 100644
index 00000000..8a9866b5
--- /dev/null
+++ b/community/newsboat-og/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Andreas Baumann <mail@andreasbaumann.cc>
+
+pkgname=newsboat-og
+pkgver=2.13.1
+pkgrel=1
+pkgdesc="An RSS/Atom feed reader for text terminals"
+arch=('x86_64' 'i486' 'i686' 'pentium4')
+url="https://newsboat.org/"
+license=('MIT')
+depends=('curl' 'hicolor-icon-theme' 'json-c' 'libxml2' 'sqlite' 'stfl')
+makedepends=('asciidoc')
+optdepends=('perl: for pinboard.pl'
+ 'python: for exportOPMLWithTags.py'
+ 'ruby: for feedgrabber.rb, heise.rb, and slashdot.rb')
+replaces=('newsbeuter')
+conflicts=('newsboat')
+options=('!makeflags')
+source=("https://github.com/andreasbaumann/$pkgname/archive/r$pkgver.tar.gz")
+sha256sums=('074228c0597f20ac72aff0b99685e5af4b28b428adafbbd8a1f207a156eb63c9')
+
+build() {
+ cd $pkgname-r$pkgver
+
+ make prefix=/usr
+ make doc
+}
+
+package() {
+ cd $pkgname-r$pkgver
+
+ make prefix=/usr DESTDIR="$pkgdir" install
+ install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
+}