diff options
Diffstat (limited to 'extra/eog')
-rw-r--r-- | extra/eog/PKGBUILD | 26 | ||||
-rw-r--r-- | extra/eog/eog.install | 17 |
2 files changed, 19 insertions, 24 deletions
diff --git a/extra/eog/PKGBUILD b/extra/eog/PKGBUILD index 431000b8e..44b11b962 100644 --- a/extra/eog/PKGBUILD +++ b/extra/eog/PKGBUILD @@ -1,32 +1,32 @@ -# $Id: PKGBUILD 101184 2010-11-28 14:11:49Z ibiru $ +# $Id: PKGBUILD 120830 2011-04-26 16:59:37Z ibiru $ # Maintainer: Jan de Groot <jgc@archlinux.org> pkgname=eog -pkgver=2.32.1 +pkgver=3.0.1 pkgrel=1 pkgdesc="Eye of Gnome: An image viewing and cataloging program" arch=('i686' 'x86_64' 'mips64el') license=('GPL') -depends=('gnome-desktop>=2.32.0' 'libexif>=0.6.19' 'lcms>=1.19' 'desktop-file-utils' 'gnome-icon-theme>=2.31.0' 'exempi>=2.1.1' 'python2>=2.7') -makedepends=('pkgconfig' 'gnome-doc-utils>=0.20.1' 'intltool' 'pygtk') +depends=('gnome-desktop' 'libexif' 'lcms' 'desktop-file-utils' 'exempi' + 'dbus-glib' 'libpeas' 'librsvg' 'gnome-icon-theme') +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}/2.32/${pkgname}-${pkgver}.tar.bz2) -sha256sums=('543672fb8e8e300bf2cf4c7eef43b5b1624e2e48e6aa0801a083ae7beb2d7078') +source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2) +sha256sums=('97e40b0e0b618a53dffa83e30ff9add1563d54356e6ab1d588d510cedbc148d2') build() { cd "${srcdir}/${pkgname}-${pkgver}" - PYTHON=python2 ./configure --prefix=/usr --sysconfdir=/etc \ - --localstatedir=/var --disable-scrollkeeper \ - --enable-python + PYTHON=/usr/bin/python2 ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var --disable-scrollkeeper make - make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install +} - install -m755 -d "${pkgdir}/usr/share/gconf/schemas" - gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain eog ${pkgdir}/etc/gconf/schemas/*.schemas - rm -f ${pkgdir}/etc/gconf/schemas/*.schemas +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 diff --git a/extra/eog/eog.install b/extra/eog/eog.install index 61d28170f..284b24b18 100644 --- a/extra/eog/eog.install +++ b/extra/eog/eog.install @@ -1,24 +1,19 @@ -pkgname=eog - post_install() { - usr/sbin/gconfpkg --install ${pkgname} + 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() { - pre_remove $1 + if (( $(vercmp $2 2.90.0) < 0 )); then + usr/sbin/gconfpkg --uninstall eog + fi } post_upgrade() { - post_install $1 -} - -pre_remove() { - usr/sbin/gconfpkg --uninstall ${pkgname} + post_install } post_remove() { - update-desktop-database -q - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + post_install } |