blob: 726a4906388e9025f35d608f72c85480c3097194 (
plain)
1 # Description: RSS/Atom feed reader for text terminals
2 # URL: http://www.newsboat.org/
3 # Maintainer: Juergen Daubert, jue at crux dot nu
4 # Depends on: curl libxml2 sqlite3 stfl json-c rust
5
6 name=newsboat
7 version=2.30
8 release=1
9 source=(https://newsboat.org/releases/$version/$name-$version.tar.xz
10 newsboat.1.gz podboat.1.gz)
11
12 build () {
13 cd $name-$version
14
15 sed "s/-O2 -ggdb/$CXXFLAGS/" -i Makefile
16 sed "/^WARNFLAGS/s/-Werror//" -i Makefile
17 export prefix=/usr
18 ./config.sh
19 make newsboat podboat
20
21 install -d $PKG/usr/{bin,share/man/man1}
22 install -m 0755 newsboat podboat $PKG/usr/bin
23 install -m 0644 $SRC/*.1.gz $PKG/usr/share/man/man1
24 }
|