summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO23
-rw-r--r--PKGBUILD41
2 files changed, 64 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..985ef9e9db4
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,23 @@
+pkgbase = newsboat-git
+ pkgdesc = An RSS/Atom feed reader for text terminals
+ pkgver = r2.10.1.r110.g7f119a4
+ pkgrel = 1
+ url = https://newsboat.org/
+ arch = x86_64
+ license = custom: MIT
+ makedepends = swig
+ makedepends = gettext
+ makedepends = asciidoc
+ depends = curl
+ depends = json-c
+ depends = libxml2
+ depends = sqlite
+ depends = stfl
+ provides = newsboat
+ replaces = newsbeuter
+ options = !emptydirs
+ source = newsboat-git::git+https://github.com/newsboat/newsboat.git
+ sha256sums = SKIP
+
+pkgname = newsboat-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d6063646220
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Jens Staal <staal1978@gmail.com>
+# adapted from "newsboat" package:
+# Maintainer: Jaroslav Lichtblau <svetlemodry@archlinux.org>
+# Contributor: Sven Pfleiderer <pfleidi@roothausen.de>
+
+pkgname=newsboat-git
+pkgver=r2.10.1.r110.g7f119a4
+pkgrel=1
+pkgdesc="An RSS/Atom feed reader for text terminals"
+arch=('x86_64')
+url="https://newsboat.org/"
+license=('custom: MIT')
+depends=('curl' 'json-c' 'libxml2' 'sqlite' 'stfl')
+makedepends=('swig' 'gettext' 'asciidoc')
+provides=('newsboat')
+replaces=('newsbeuter')
+options=('!emptydirs')
+source=($pkgname::git+https://github.com/newsboat/newsboat.git)
+sha256sums=('SKIP')
+
+
+pkgver() {
+ cd "${srcdir}"/$pkgname
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/; s/-/./g'
+}
+
+build() {
+ cd "${srcdir}"/$pkgname
+
+ make prefix=/usr
+ make doc
+}
+
+package() {
+ cd "${srcdir}"/$pkgname
+
+ make prefix=/usr DESTDIR="${pkgdir}" install
+ install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
+}
+