blob: a73da51c06fe87b14903e85a09f66dcc8f63c540 (
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
35
36
37
38
39
40
41
42
43
44
|
# Maintainer: Florian Bruhin (The Compiler) <archlinux.org@the-compiler.org>
# Contributor: Thorsten Toepper <atsutane@freethoughts.de>
pkgname=newsbeuter-git
pkgver=1566.cd97b4a
pkgrel=1
pkgdesc='A RSS feed reader for the text console with special Podcast support.'
url='http://www.newsbeuter.org'
arch=('i686' 'x86_64')
license=('MIT')
depends=('sqlite3' 'curl' 'libxml2' 'stfl' 'json-c')
optdepends=('ruby')
makedepends=('git' 'swig' 'asciidoc' 'docbook-xsl' 'pkgconfig')
options=('docs' '!libtool')
conflicts=('newsbeuter')
source=('git://github.com/akrennmair/newsbeuter.git')
sha1sums=('SKIP')
_gitname="newsbeuter"
pkgver() {
cd "$srcdir/$_gitname"
echo $(git rev-list --count master).$(git rev-parse --short master)
}
build() {
cd "$_gitname"
./config.sh
sed -i 's+/usr/local+/usr+' Makefile
make
make doc || true
}
package() {
cd "$_gitname"
make DESTDIR=${pkgdir} install
install -Dm644 LICENSE \
${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}
# vim:set ts=2 sw=2 et:
|