PKGBUILDs/extra/liferea/PKGBUILD
2009-10-09 21:23:22 -05:00

30 lines
1.2 KiB
Bash

# $Id: PKGBUILD 47807 2009-07-27 23:36:38Z eric $
# Maintainer: Eric Belanger <eric@archlinux.org>
# Contributor: Ben <ben@benmazer.net>
pkgname=liferea
pkgver=1.6.0
pkgrel=1
pkgdesc="A GTK desktop news aggregator for online news feeds and weblogs"
arch=('i686' 'x86_64')
url="http://liferea.sourceforge.net/"
license=('GPL')
depends=('gconf>=2.26.0' 'libwebkit>=1.1.10' 'libnotify>=0.4.5' 'libxslt>=1.1.24' 'libglade>=2.6.4' 'sqlite3>=3.6.15')
makedepends=('pkgconfig' 'diffutils' 'intltool' 'lua')
optdepends=('lua: for lua scripting support')
options=('!libtool' '!emptydirs')
install=liferea.install
source=(http://downloads.sourceforge.net/sourceforge/liferea/liferea-${pkgver}.tar.gz)
md5sums=('7c532101d3c9cfd71b76d3a8a82622fa')
sha1sums=('1adbcc29c43070e03a941d150efc805bed97cc99')
build() {
cd "${srcdir}/liferea-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-schemas-install || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
install -d "${pkgdir}/usr/share/gconf/schemas"
gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" "${pkgdir}"/etc/gconf/schemas/*.schemas || return 1
rm -f "${pkgdir}"/etc/gconf/schemas/*.schemas
}