summaryrefslogtreecommitdiff
path: root/extra/liferea/PKGBUILD
blob: 14bbeaf7dc6353ce08778fc7a292855a1a5208c3 (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
# $Id: PKGBUILD 118815 2011-04-08 03:03:14Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=liferea
pkgver=1.6.5
pkgrel=3
pkgdesc="A desktop news aggregator for online news feeds and weblogs"
arch=('i686' 'x86_64')
url="http://liferea.sourceforge.net/"
license=('GPL')
depends=('gconf' 'libwebkit' 'libxslt' 'libglade' 'sqlite3' 'hicolor-icon-theme')
makedepends=('pkg-config' 'intltool' 'lua' 'libnotify')
optdepends=('lua: for lua scripting support'
            'libnotify: for notification support')
options=('!libtool' '!emptydirs')
install=liferea.install
source=(http://downloads.sourceforge.net/sourceforge/liferea/liferea-${pkgver}.tar.gz
        libnotify-0.7.patch)
md5sums=('b5a2c0803eec5d0aff0b9ca4114eaf16'
         'fca97e3316c1c51e0179c4c7dcce47a2')
sha1sums=('f24dbd0e81c5a8309f0d19853211fc02ff818477'
          '52e53dd11a0ffe62304c4f17e80bfe1412cfbf29')

build() {
  cd "${srcdir}/liferea-${pkgver}"
  patch -Np1 -i "$srcdir/libnotify-0.7.patch"
  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-schemas-install
  make
}

package() {
  cd "${srcdir}/liferea-${pkgver}"
  make DESTDIR="${pkgdir}" install
  
  install -d "${pkgdir}/usr/share/gconf/schemas"
  gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" "${pkgdir}"/etc/gconf/schemas/*.schemas
  rm -f "${pkgdir}"/etc/gconf/schemas/*.schemas
}