1 # Maintainer: György Balló <ballogy@freestart.hu>
2 # Contributor: Eric Bélanger <eric@archlinux.org>
8 pkgdesc="A desktop news aggregator for online news feeds and weblogs with Unity integration"
10 url="http://liferea.sourceforge.net/"
12 depends=('gconf' 'libwebkit' 'libglade' 'networkmanager' 'libindicate' 'libunity' 'hicolor-icon-theme')
13 true && depends=('gconf' 'libwebkit' 'libglade' 'networkmanager' 'libindicate-gtk2' 'libunity' 'hicolor-icon-theme')
14 makedepends=('pkg-config' 'intltool' 'lua' 'libnotify')
15 optdepends=('lua: for lua scripting support'
16 'libnotify: for notification support')
17 provides=("liferea=$pkgver")
19 options=('!libtool' '!emptydirs')
20 install=liferea.install
21 source=(http://downloads.sourceforge.net/sourceforge/liferea/liferea-${pkgver}.tar.gz
28 sha1sums=('9ca2d640499dde32cd9fe83b8a6081f3628e5c0c'
29 '750c136e796ab51d5cf3c30cdad4e84a0ed1c385'
30 'e09a6f93a8c4f41bc5dc37e8542cc701a462ad01'
31 'ded7d74fceeef78b6987868a2b16f358dba5d9b3'
32 'f29235a23a4f67ed1fef7d304b0a58846eb72ede'
33 '500896d29baccead284f194eea999a7c4f94184a'
34 '1ec6d093d2b50fc47250600d488314b293272e11')
37 cd "${srcdir}/liferea-${pkgver}"
38 patch -Np1 -i "$srcdir/fix_systray_behavior"
39 patch -Np1 -i "$srcdir/notification-append"
40 patch -Np1 -i "$srcdir/gtk-status-icon.patch"
41 patch -Np1 -i "$srcdir/libindicate.patch"
42 patch -Np1 -i "$srcdir/libunity.patch"
43 patch -Np1 -i "$srcdir/libnotify.patch"
46 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-schemas-install
51 cd "${srcdir}/liferea-${pkgver}"
52 make DESTDIR="${pkgdir}" install
54 install -d "${pkgdir}/usr/share/gconf/schemas"
55 gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${_pkgname}.schemas" "${pkgdir}"/etc/gconf/schemas/*.schemas
56 rm -f "${pkgdir}"/etc/gconf/schemas/*.schemas
58 mkdir -p "$pkgdir/usr/share/indicators/messages/applications"
59 echo '/usr/share/applications/liferea.desktop' > "$pkgdir/usr/share/indicators/messages/applications/liferea"