summaryrefslogtreecommitdiff
path: root/libre/liferea-libre/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/liferea-libre/PKGBUILD')
-rw-r--r--libre/liferea-libre/PKGBUILD56
1 files changed, 56 insertions, 0 deletions
diff --git a/libre/liferea-libre/PKGBUILD b/libre/liferea-libre/PKGBUILD
new file mode 100644
index 000000000..044663626
--- /dev/null
+++ b/libre/liferea-libre/PKGBUILD
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Eric BĂ©langer <eric@archlinux.org>
+# Contributor: bitlord
+
+pkgbasename=liferea
+pkgname=liferea-libre
+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/"
+provides=("liferea=$pkgver")
+replaces=('liferea')
+conflicts=('liferea')
+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://repo.parabolagnulinux.org/other/$pkgname-$pkgver.tar.gz
+ libnotify-0.7.patch
+ remove-non-free-suggestions.patch)
+md5sums=('f2d0ae5fb9f763451ba8b9fe2216de9c'
+ 'fca97e3316c1c51e0179c4c7dcce47a2'
+ '380284dc0b54ab9488f0659e832e59fa')
+
+# source PKGBUILD ; mksource
+mksource() {
+ wget http://downloads.sourceforge.net/sourceforge/liferea/liferea-${pkgver}.tar.gz \
+ -O - | tar xzf -
+
+ pushd liferea-$pkgver >/dev/null
+ patch -Np1 -i "../remove-non-free-suggestions.patch" || return 1
+ popd >/dev/null
+
+ tar cvzf $pkgname-$pkgver.tar.gz liferea-$pkgver/
+ rm -rvf liferea-$pkgver/
+}
+
+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
+}