[arch-commits] Commit in gnumeric/repos (6 files)
Jan de Groot
jgc at archlinux.org
Wed Dec 19 13:20:58 UTC 2012
Date: Wednesday, December 19, 2012 @ 08:20:58
Author: jgc
Revision: 173335
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
gnumeric/repos/staging-i686/
gnumeric/repos/staging-i686/PKGBUILD
(from rev 173334, gnumeric/trunk/PKGBUILD)
gnumeric/repos/staging-i686/gnumeric.install
(from rev 173334, gnumeric/trunk/gnumeric.install)
gnumeric/repos/staging-x86_64/
gnumeric/repos/staging-x86_64/PKGBUILD
(from rev 173334, gnumeric/trunk/PKGBUILD)
gnumeric/repos/staging-x86_64/gnumeric.install
(from rev 173334, gnumeric/trunk/gnumeric.install)
---------------------------------+
staging-i686/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
staging-i686/gnumeric.install | 19 +++++++++++++++++++
staging-x86_64/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
staging-x86_64/gnumeric.install | 19 +++++++++++++++++++
4 files changed, 110 insertions(+)
Copied: gnumeric/repos/staging-i686/PKGBUILD (from rev 173334, gnumeric/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2012-12-19 13:20:58 UTC (rev 173335)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Eric Belanger <eric at archlinux.org>
+# Contributor: Kritoke <typeolinux at yahoo.com>
+
+pkgname=gnumeric
+pkgver=1.12.0
+pkgrel=1
+pkgdesc="A GNOME Spreadsheet Program"
+arch=('i686' 'x86_64')
+url="http://www.gnome.org/projects/gnumeric/"
+license=('GPL')
+depends=('goffice' 'desktop-file-utils' 'hicolor-icon-theme')
+makedepends=('intltool' 'psiconv' 'pygobject-devel' 'gnome-doc-utils')
+optdepends=('python2-gobject: for python plugin support'
+ 'perl: for perl 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=('037b53d909e5d1454b2afda8c4fb1e7838e260343e36d4e36245f4a5d0e04111')
+
+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 \
+ --enable-ssindex --disable-schemas-compile
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
Copied: gnumeric/repos/staging-i686/gnumeric.install (from rev 173334, gnumeric/trunk/gnumeric.install)
===================================================================
--- staging-i686/gnumeric.install (rev 0)
+++ staging-i686/gnumeric.install 2012-12-19 13:20:58 UTC (rev 173335)
@@ -0,0 +1,19 @@
+post_install() {
+ 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
+}
+
+pre_upgrade() {
+ if [ -f usr/share/gconf/schemas/gnumeric.schemas ]; then
+ usr/sbin/gconfpkg --uninstall gnumeric
+ fi
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Copied: gnumeric/repos/staging-x86_64/PKGBUILD (from rev 173334, gnumeric/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2012-12-19 13:20:58 UTC (rev 173335)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Eric Belanger <eric at archlinux.org>
+# Contributor: Kritoke <typeolinux at yahoo.com>
+
+pkgname=gnumeric
+pkgver=1.12.0
+pkgrel=1
+pkgdesc="A GNOME Spreadsheet Program"
+arch=('i686' 'x86_64')
+url="http://www.gnome.org/projects/gnumeric/"
+license=('GPL')
+depends=('goffice' 'desktop-file-utils' 'hicolor-icon-theme')
+makedepends=('intltool' 'psiconv' 'pygobject-devel' 'gnome-doc-utils')
+optdepends=('python2-gobject: for python plugin support'
+ 'perl: for perl 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=('037b53d909e5d1454b2afda8c4fb1e7838e260343e36d4e36245f4a5d0e04111')
+
+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 \
+ --enable-ssindex --disable-schemas-compile
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
Copied: gnumeric/repos/staging-x86_64/gnumeric.install (from rev 173334, gnumeric/trunk/gnumeric.install)
===================================================================
--- staging-x86_64/gnumeric.install (rev 0)
+++ staging-x86_64/gnumeric.install 2012-12-19 13:20:58 UTC (rev 173335)
@@ -0,0 +1,19 @@
+post_install() {
+ 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
+}
+
+pre_upgrade() {
+ if [ -f usr/share/gconf/schemas/gnumeric.schemas ]; then
+ usr/sbin/gconfpkg --uninstall gnumeric
+ fi
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list