blob: e9bd0e43e043641b3253cb49f9025fd68180ee81 (
plain)
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
|
# Contributor: Caltlgin Stsodaat <contact@fossdaily.xyz>
pkgname=sfeed
pkgver=2.0
pkgrel=1
pkgdesc='RSS and Atom parser'
arch=('i686' 'pentium4' 'x86_64' 'armv7h' 'armv6h' 'aarch64')
url='https://codemadness.org/sfeed-simple-feed-parser.html'
_url_source='https://codemadness.org/releases/sfeed'
license=('ISC')
depends=('sh' 'ncurses')
optdepends=('curl: sfeed_update script'
'xclip: used by sfeed_curses for yanking the URL or enclosure'
'xdg-utils: for xdg-open, used by sfeed_curses as a plumber by default'
'awk: used by the sfeed_content and sfeed_markread script'
'lynx: used by the sfeed_content script to convert HTML content'
)
provides=('sfeed-curses')
conflicts=('sfeed-curses')
replaces=('sfeed-curses')
source=("${_url_source}/${pkgname}-${pkgver}.tar.gz")
sha256sums=('8e6a7e6e1d7e86034ae27035e37a8f7fc98bc25fe35120bd18ff07e04f18e91d')
build() {
# To change the theme for sfeed_curses you can set SFEED_THEME. See the themes directory for the theme names.
make SFEED_THEME="mono" -C "${pkgname}-${pkgver}"
}
package() {
make DESTDIR="${pkgdir}" PREFIX='/usr' MANPREFIX='/usr/share/man' -C "${pkgname}-${pkgver}" install
install -Dvm644 "${pkgname}-${pkgver}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
# vim: ts=2 sw=2 et:
|