Date: Sunday, May 27, 2012 @ 03:42:16 Author: bluewind Revision: 159839
db-move: moved gnumeric from [staging] to [testing] (x86_64) Added: gnumeric/repos/testing-x86_64/ gnumeric/repos/testing-x86_64/PKGBUILD (from rev 159819, gnumeric/repos/staging-x86_64/PKGBUILD) gnumeric/repos/testing-x86_64/gnumeric.install (from rev 159819, gnumeric/repos/staging-x86_64/gnumeric.install) Deleted: gnumeric/repos/staging-x86_64/ ------------------+ PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++ gnumeric.install | 26 ++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) Copied: gnumeric/repos/testing-x86_64/PKGBUILD (from rev 159819, gnumeric/repos/staging-x86_64/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2012-05-27 07:42:16 UTC (rev 159839) @@ -0,0 +1,39 @@ +# $Id$ +# Maintainer: Eric Belanger <e...@archlinux.org> +# Contributor: Kritoke <typeoli...@yahoo.com> + +pkgname=gnumeric +pkgver=1.10.17 +pkgrel=2 +pkgdesc="A GNOME Spreadsheet Program" +arch=('i686' 'x86_64') +url="http://www.gnome.org/projects/gnumeric/" +license=('GPL') +depends=('goffice' 'gconf' 'desktop-file-utils' 'hicolor-icon-theme') +makedepends=('intltool' 'python2' 'gnome-doc-utils' 'pygobject' 'psiconv') +optdepends=('pygobject: for python plugin support' + 'psiconv: for Psion 5 file support' + 'yelp: for viewing the help manual') +install=gnumeric.install +options=('libtool') +source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz) +sha256sums=('8f105a10dc0dd47e14df2879591d2f28482fd03809fa95977dd4d1470a02f963') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + # Remove invalid mime type. (FS#26338) + sed -i -e 's/zz-application\/zz-winassoc-xls;//' gnumeric.desktop.in + + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --disable-schemas-install --enable-ssindex + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + + install -d "${pkgdir}/usr/share/gconf/schemas" + gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain gnumeric "${pkgdir}"/etc/gconf/schemas/*.schemas + rm -rf "${pkgdir}/etc/gconf" +} Copied: gnumeric/repos/testing-x86_64/gnumeric.install (from rev 159819, gnumeric/repos/staging-x86_64/gnumeric.install) =================================================================== --- testing-x86_64/gnumeric.install (rev 0) +++ testing-x86_64/gnumeric.install 2012-05-27 07:42:16 UTC (rev 159839) @@ -0,0 +1,26 @@ +pkgname=gnumeric + +post_install() { + usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas + usr/sbin/gconfpkg --install ${pkgname} + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + update-desktop-database -q +} + +pre_upgrade() { + pre_remove $1 +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + usr/sbin/gconfpkg --uninstall ${pkgname} +} + +post_remove() { + usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + update-desktop-database -q +}