[arch-commits] Commit in gnumeric/repos (6 files)
Evangelos Foutras
foutrelis at archlinux.org
Sun May 27 06:38:09 UTC 2012
Date: Sunday, May 27, 2012 @ 02:38:09
Author: foutrelis
Revision: 159816
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
gnumeric/repos/staging-i686/
gnumeric/repos/staging-i686/PKGBUILD
(from rev 159815, gnumeric/trunk/PKGBUILD)
gnumeric/repos/staging-i686/gnumeric.install
(from rev 159815, gnumeric/trunk/gnumeric.install)
gnumeric/repos/staging-x86_64/
gnumeric/repos/staging-x86_64/PKGBUILD
(from rev 159815, gnumeric/trunk/PKGBUILD)
gnumeric/repos/staging-x86_64/gnumeric.install
(from rev 159815, gnumeric/trunk/gnumeric.install)
---------------------------------+
staging-i686/PKGBUILD | 39 ++++++++++++++++++++++++++++++++++++++
staging-i686/gnumeric.install | 26 +++++++++++++++++++++++++
staging-x86_64/PKGBUILD | 39 ++++++++++++++++++++++++++++++++++++++
staging-x86_64/gnumeric.install | 26 +++++++++++++++++++++++++
4 files changed, 130 insertions(+)
Copied: gnumeric/repos/staging-i686/PKGBUILD (from rev 159815, gnumeric/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2012-05-27 06:38:09 UTC (rev 159816)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Eric Belanger <eric at archlinux.org>
+# Contributor: Kritoke <typeolinux at 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/staging-i686/gnumeric.install (from rev 159815, gnumeric/trunk/gnumeric.install)
===================================================================
--- staging-i686/gnumeric.install (rev 0)
+++ staging-i686/gnumeric.install 2012-05-27 06:38:09 UTC (rev 159816)
@@ -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 159815, gnumeric/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2012-05-27 06:38:09 UTC (rev 159816)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Eric Belanger <eric at archlinux.org>
+# Contributor: Kritoke <typeolinux at 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/staging-x86_64/gnumeric.install (from rev 159815, gnumeric/trunk/gnumeric.install)
===================================================================
--- staging-x86_64/gnumeric.install (rev 0)
+++ staging-x86_64/gnumeric.install 2012-05-27 06:38:09 UTC (rev 159816)
@@ -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