[arch-commits] Commit in liferea/repos/extra-x86_64 (PKGBUILD liferea.install)
Eric Bélanger
eric at archlinux.org
Sun Oct 19 02:51:23 UTC 2014
Date: Sunday, October 19, 2014 @ 04:51:23
Author: eric
Revision: 224819
archrelease: copy trunk to extra-x86_64
Added:
liferea/repos/extra-x86_64/PKGBUILD
(from rev 224818, liferea/trunk/PKGBUILD)
liferea/repos/extra-x86_64/liferea.install
(from rev 224818, liferea/trunk/liferea.install)
-----------------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
liferea.install | 21 +++++++++++++++++++++
2 files changed, 54 insertions(+)
Copied: liferea/repos/extra-x86_64/PKGBUILD (from rev 224818, liferea/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2014-10-19 02:51:23 UTC (rev 224819)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=liferea
+pkgver=1.10.12
+pkgrel=1
+pkgdesc="A desktop news aggregator for online news feeds and weblogs"
+arch=('i686' 'x86_64')
+url="http://liferea.sourceforge.net/"
+license=('GPL')
+depends=('webkitgtk' 'libnotify' 'json-glib' 'libpeas' 'python2-gobject'
+ 'gnome-icon-theme' 'desktop-file-utils')
+makedepends=('intltool')
+optdepends=('gnome-keyring: for keyring plugin support'
+ 'libgnome-keyring: for keyring plugin support'
+ 'gst-plugins-base: for media player plugin support'
+ 'gst-plugins-good: for media player plugin support'
+ 'gst-plugins-bad: for media player plugin support')
+options=('!emptydirs')
+install=liferea.install
+source=(https://github.com/lwindolf/liferea/releases/download/v${pkgver}/liferea-${pkgver}.tar.bz2)
+sha1sums=('4a52d5e89a84ce7ed43553ab6f8ebf3e08061d04')
+
+build() {
+ cd liferea-${pkgver}
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-schemas-compile
+ make
+}
+
+package() {
+ cd liferea-${pkgver}
+ make DESTDIR="${pkgdir}" install
+}
Copied: liferea/repos/extra-x86_64/liferea.install (from rev 224818, liferea/trunk/liferea.install)
===================================================================
--- liferea.install (rev 0)
+++ liferea.install 2014-10-19 02:51:23 UTC (rev 224819)
@@ -0,0 +1,21 @@
+pkgname=liferea
+
+post_install() {
+ glib-compile-schemas usr/share/glib-2.0/schemas
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ update-desktop-database -q
+}
+
+pre_upgrade() {
+ if [ -f usr/share/gconf/schemas/$pkgname.schemas ]; then
+ gconfpkg --uninstall $pkgname
+ fi
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}
More information about the arch-commits
mailing list