summaryrefslogtreecommitdiff
path: root/libre/liferea/PKGBUILD
blob: 96bb8e6a28f4b0c629d9ce11ba486a1d3fdb6419 (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
# $Id: PKGBUILD 238777 2015-05-09 23:20:06Z eric $
# Maintainer (Arch): Eric Bélanger <eric@archlinux.org>
# Maintainer: André Silva <emulatorman@parabola.nu>
# Contributor: bitlord

pkgname=liferea
pkgver=1.10.15
pkgrel=1.parabola1
pkgdesc="A desktop news aggregator for online news feeds and weblogs, without nonfree suggestions"
arch=('i686' 'x86_64' 'mips64el')
url="http://liferea.sourceforge.net/"
replaces=('liferea-libre')
conflicts=('liferea-libre')
license=('GPL')
depends=('webkitgtk' 'libnotify' 'json-glib' 'libpeas' 'python2-gobject' 
         'gnome-icon-theme' 'desktop-file-utils')
makedepends=('intltool' 'gobject-introspection')
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: for media player plugin support')
options=('!emptydirs')
install=liferea.install
source=(https://github.com/lwindolf/liferea/releases/download/v${pkgver}/liferea-${pkgver}.tar.bz2
        remove-non-free-suggestions.patch)
sha1sums=('5325d1fc06417abd4de5568fa87daf0c7f3e9c82'
          'e787f9209415ed2574e54b020cf449268ece3583')

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
}