aboutsummaryrefslogtreecommitdiffstats
path: root/main/newsboat/APKBUILD
blob: 7636ef58c0b7df49ef1cebb993e21b6672e8e6f3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Maintainer: Mike Crute <mike@crute.us>
pkgname=newsboat
pkgver=2.13
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 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="f6d9d7547db4fddaaef35dac5e9a8cf6f37d17b010c032b1efdfcb0eb3ccde4c3199526ade9bdefe28a877d61cebfc70a8b051596ffef3b65bc912240ecc0099  r2.13.tar.gz"