[arch-commits] Commit in eog/repos (4 files)

Ionut Biru ibiru at archlinux.org
Wed Sep 28 19:29:31 UTC 2011


    Date: Wednesday, September 28, 2011 @ 15:29:30
  Author: ibiru
Revision: 138867

db-move: moved eog from [gnome-unstable] to [testing] (i686)

Added:
  eog/repos/testing-i686/
  eog/repos/testing-i686/PKGBUILD
    (from rev 138832, eog/repos/gnome-unstable-i686/PKGBUILD)
  eog/repos/testing-i686/eog.install
    (from rev 138832, eog/repos/gnome-unstable-i686/eog.install)
Deleted:
  eog/repos/gnome-unstable-i686/

-------------+
 PKGBUILD    |   32 ++++++++++++++++++++++++++++++++
 eog.install |   19 +++++++++++++++++++
 2 files changed, 51 insertions(+)

Copied: eog/repos/testing-i686/PKGBUILD (from rev 138832, eog/repos/gnome-unstable-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2011-09-28 19:29:30 UTC (rev 138867)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=eog
+pkgver=3.2.0
+pkgrel=1
+pkgdesc="Eye of Gnome: An image viewing and cataloging program"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('gnome-desktop' 'libexif' 'lcms2' 'desktop-file-utils' 'exempi' 'libpeas' 'librsvg' 'gnome-icon-theme' 'dconf')
+makedepends=('gtk-doc' 'intltool')
+install=eog.install
+groups=('gnome-extra')
+options=('!emptydirs' '!libtool')
+url="http://www.gnome.org"
+source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz)
+sha256sums=('79184d0cf420d4b8c1d1de92c30f1d95afc7cd686876e07b20cb82a2ec20d8e3')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  PYTHON=/usr/bin/python2 ./configure --prefix=/usr --sysconfdir=/etc \
+      --localstatedir=/var --disable-scrollkeeper
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+
+  # remove it from Xfce menu that ships its own thingy
+  echo "NotShowIn=XFCE" >> ${pkgdir}/usr/share/applications/eog.desktop
+}

Copied: eog/repos/testing-i686/eog.install (from rev 138832, eog/repos/gnome-unstable-i686/eog.install)
===================================================================
--- testing-i686/eog.install	                        (rev 0)
+++ testing-i686/eog.install	2011-09-28 19:29:30 UTC (rev 138867)
@@ -0,0 +1,19 @@
+post_install() {
+  usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas
+  update-desktop-database -q
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+pre_upgrade() {
+  if (( $(vercmp $2 2.90.0) < 0 )); then
+    usr/sbin/gconfpkg --uninstall eog
+  fi
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}




More information about the arch-commits mailing list