1 # Maintainer: György Balló <ballogy@freestart.hu>
2 # Contributor: Eric Bélanger <eric@archlinux.org>
5 pkgname=liferea-indicator
8 pkgdesc="A desktop news aggregator for online news feeds and weblogs with Messages Indicator support"
10 url="http://liferea.sourceforge.net/"
12 depends=('gconf' 'libwebkit' 'libnotify' 'libunique' 'json-glib' 'libindicate' 'hicolor-icon-theme')
13 true && depends=('gconf' 'libwebkit' 'libnotify' 'libunique' 'json-glib' 'libindicate-gtk2' 'hicolor-icon-theme')
14 makedepends=('intltool')
15 provides=("liferea=$pkgver")
17 options=('!libtool' '!emptydirs')
18 install=liferea.install
19 source=(http://downloads.sourceforge.net/sourceforge/liferea/liferea-${pkgver}.tar.gz
20 libindicate-fix.patch)
21 sha1sums=('b731e70128130478207e9059fc9ec33ae7d95358'
22 '217d72ecdcc0cf15b9799311064c642058d6a7c1')
25 cd "${srcdir}/liferea-${pkgver}"
26 patch -Np1 -i "${srcdir}/libindicate-fix.patch"
27 sed -i 's/indicate-0.5/indicate-0.6/
28 s/indicate-gtk-0.5/indicate-gtk-0.6/' configure
30 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-schemas-install
35 cd "${srcdir}/liferea-${pkgver}"
36 make DESTDIR="${pkgdir}" install
38 install -d "${pkgdir}/usr/share/gconf/schemas"
39 gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${_pkgname}.schemas" "${pkgdir}"/etc/gconf/schemas/*.schemas
40 rm -f "${pkgdir}"/etc/gconf/schemas/*.schemas
42 mkdir -p "$pkgdir/usr/share/indicators/messages/applications"
43 echo '/usr/share/applications/liferea.desktop' > "$pkgdir/usr/share/indicators/messages/applications/liferea"