summaryrefslogtreecommitdiff
path: root/libre/liferea-libre/PKGBUILD
blob: 8e715be0fa9e374a582c53a1b7016d357ed77847 (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
# $Id: PKGBUILD 196228 2013-10-08 23:20:06Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>
# Contributor (Parabola): bitlord
# Contributor (Parabola): André Silva <emulatorman@lavabit.com>

_pkgname=liferea
pkgname=liferea-libre
pkgver=1.10.3
pkgrel=1
pkgdesc="A desktop news aggregator for online news feeds and weblogs, without nonfree suggestions"
arch=('i686' 'x86_64' 'mips64el')
url="http://liferea.sourceforge.net/"
provides=("liferea=$pkgver")
replaces=('liferea')
conflicts=('liferea')
license=('GPL')
depends=('webkitgtk' 'libnotify' 'json-glib' 'libpeas' 'python2-gobject' 
         'gnome-icon-theme' 'desktop-file-utils')
makedepends=('intltool')
optdepends=('gnome-keyring: for keyring plugin support'
            'libgnome-keyring: for keyring plugin support'
	    'gst-plugins-base: for media player plugin support'
	    'gst-plugins-good: for media player plugin support'
	    'gst-plugins-bad-libre: for media player plugin support')
options=('!libtool' '!emptydirs')
install=liferea.install
source=(http://downloads.sourceforge.net/sourceforge/liferea/liferea-${pkgver}.tar.bz2
        remove-non-free-suggestions.patch)
sha1sums=('70ea247cd84274cd6a144f63772d97af4e6b5ebb'
          '855de60c91b5fee71c7ec88dd04b7d24a02dc0d1')

build() {
  cd liferea-${pkgver}
  # remove nonfree suggestions
  patch -Np1 -i "$srcdir/remove-non-free-suggestions.patch"
  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-schemas-compile
  make
}

package() {
  cd liferea-${pkgver}
  make DESTDIR="${pkgdir}" install
}