2017-12-13 15:36:49 +01:00
|
|
|
# Description: RSS/Atom feed reader for text terminals
|
2021-03-22 16:32:07 +01:00
|
|
|
# URL: http://www.newsboat.org/
|
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
|
|
# Depends on: curl libxml2 sqlite3 stfl json-c rust
|
2023-12-30 14:44:35 +01:00
|
|
|
# Optional: asciidoctor
|
2017-12-13 15:36:49 +01:00
|
|
|
|
|
|
|
name=newsboat
|
2024-06-22 14:28:33 +02:00
|
|
|
version=2.36
|
2020-06-22 13:05:19 +02:00
|
|
|
release=1
|
2023-12-30 14:44:35 +01:00
|
|
|
source=(https://newsboat.org/releases/$version/$name-$version.tar.xz)
|
2017-12-13 15:36:49 +01:00
|
|
|
|
|
|
|
build () {
|
2021-03-22 16:32:07 +01:00
|
|
|
cd $name-$version
|
2018-01-02 13:31:11 +01:00
|
|
|
|
2021-03-22 16:32:07 +01:00
|
|
|
sed "s/-O2 -ggdb/$CXXFLAGS/" -i Makefile
|
|
|
|
export prefix=/usr
|
|
|
|
./config.sh
|
|
|
|
make newsboat podboat
|
2023-12-30 14:44:35 +01:00
|
|
|
make DESTDIR=$PKG install-{news,pod}boat
|
2018-01-02 13:31:11 +01:00
|
|
|
|
2023-12-30 14:44:35 +01:00
|
|
|
if prt-get isinst asciidoctor; then
|
|
|
|
make DESTDIR=$PKG install-docs
|
|
|
|
rm -r $PKG/usr/share/doc
|
|
|
|
fi
|
2017-12-13 15:36:49 +01:00
|
|
|
}
|