summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDaniel M. Capella2021-05-14 01:07:48 -0400
committerDaniel M. Capella2021-05-14 01:11:27 -0400
commit7b2a36fb5d94fb0b1d7b1079b167a1c48e4486d1 (patch)
treec5f42840d029d118f6a4842d7c3f3a50f90b2b0a /PKGBUILD
parent23f3a3736f11a4b8e5530654b78dc40c74dad1cc (diff)
downloadaur-newsboat-git.tar.gz
Sync with stable package and touch up
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD36
1 files changed, 18 insertions, 18 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b6d24ea9299..115bb4057d9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,42 +1,42 @@
-# $Id$
-# Maintainer: Jens Staal <staal1978@gmail.com>
-# adapted from "newsboat" package:
-# Maintainer: Jaroslav Lichtblau <svetlemodry@archlinux.org>
+# Maintainer: Daniel M. Capella <polyzen@archlinux.org>
+# Contributor: Jens Staal <staal1978@gmail.com>
+# Contributor: Jaroslav Lichtblau <svetlemodry@archlinux.org>
# Contributor: Sven Pfleiderer <pfleidi@roothausen.de>
pkgname=newsboat-git
-pkgver=r2.20.1.r341.ge0e76c34
+pkgver=2.23.r191.gf570c8ac
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' 'asciidoctor' 'rust')
+license=('MIT')
+depends=('curl' 'hicolor-icon-theme' 'json-c' 'libxml2' 'sqlite' 'stfl')
+makedepends=('asciidoctor' 'git' 'rust' 'swig')
+optdepends=('perl: for pinboard.pl'
+ 'python: for exportOPMLWithTags.py'
+ 'ruby: for feedgrabber.rb, heise.rb, and slashdot.rb')
provides=('newsboat')
conflicts=('newsboat')
replaces=('newsbeuter')
-options=('!emptydirs')
-source=($pkgname::git+https://github.com/newsboat/newsboat.git)
+source=('git+https://github.com/newsboat/newsboat.git')
sha256sums=('SKIP')
-
pkgver() {
- cd "${srcdir}"/$pkgname
- git describe --long --tags | sed 's/\([^-]*-g\)/r\1/; s/-/./g'
+ cd newsboat
+
+ git describe --long | sed 's/^r//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
- cd "${srcdir}"/$pkgname
+ cd newsboat
make prefix=/usr
make doc
}
package() {
- cd "${srcdir}"/$pkgname
+ cd newsboat
- make prefix=/usr DESTDIR="${pkgdir}" install
- install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
+ make prefix=/usr DESTDIR="$pkgdir" install
+ install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
}
-