[arch-commits] Commit in gnumeric/repos (6 files)

Jan de Groot jgc at archlinux.org
Mon Oct 3 07:10:07 EDT 2011


    Date: Monday, October 3, 2011 @ 07:10:06
  Author: jgc
Revision: 139534

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  gnumeric/repos/staging-i686/
  gnumeric/repos/staging-i686/PKGBUILD
    (from rev 139533, gnumeric/trunk/PKGBUILD)
  gnumeric/repos/staging-i686/gnumeric.install
    (from rev 139533, gnumeric/trunk/gnumeric.install)
  gnumeric/repos/staging-x86_64/
  gnumeric/repos/staging-x86_64/PKGBUILD
    (from rev 139533, gnumeric/trunk/PKGBUILD)
  gnumeric/repos/staging-x86_64/gnumeric.install
    (from rev 139533, gnumeric/trunk/gnumeric.install)

---------------------------------+
 staging-i686/PKGBUILD           |   36 ++++++++++++++++++++++++++++++++++++
 staging-i686/gnumeric.install   |   26 ++++++++++++++++++++++++++
 staging-x86_64/PKGBUILD         |   36 ++++++++++++++++++++++++++++++++++++
 staging-x86_64/gnumeric.install |   26 ++++++++++++++++++++++++++
 4 files changed, 124 insertions(+)

Copied: gnumeric/repos/staging-i686/PKGBUILD (from rev 139533, gnumeric/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2011-10-03 11:10:06 UTC (rev 139534)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Eric Belanger <eric at archlinux.org>
+# Contributor: Kritoke <typeolinux at yahoo.com>
+
+pkgname=gnumeric
+pkgver=1.10.17
+pkgrel=1
+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}"
+  ./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/staging-i686/gnumeric.install (from rev 139533, gnumeric/trunk/gnumeric.install)
===================================================================
--- staging-i686/gnumeric.install	                        (rev 0)
+++ staging-i686/gnumeric.install	2011-10-03 11:10:06 UTC (rev 139534)
@@ -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
+}

Copied: gnumeric/repos/staging-x86_64/PKGBUILD (from rev 139533, gnumeric/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2011-10-03 11:10:06 UTC (rev 139534)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Eric Belanger <eric at archlinux.org>
+# Contributor: Kritoke <typeolinux at yahoo.com>
+
+pkgname=gnumeric
+pkgver=1.10.17
+pkgrel=1
+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}"
+  ./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/staging-x86_64/gnumeric.install (from rev 139533, gnumeric/trunk/gnumeric.install)
===================================================================
--- staging-x86_64/gnumeric.install	                        (rev 0)
+++ staging-x86_64/gnumeric.install	2011-10-03 11:10:06 UTC (rev 139534)
@@ -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
+}



More information about the arch-commits mailing list