[arch-commits] Commit in gnucash/repos (6 files)
Laurent Carlier
lcarlier at nymeria.archlinux.org
Sat Oct 26 17:10:37 UTC 2013
Date: Saturday, October 26, 2013 @ 19:10:36
Author: lcarlier
Revision: 197532
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
gnucash/repos/staging-i686/
gnucash/repos/staging-i686/PKGBUILD
(from rev 197531, gnucash/trunk/PKGBUILD)
gnucash/repos/staging-i686/gnucash.install
(from rev 197531, gnucash/trunk/gnucash.install)
gnucash/repos/staging-x86_64/
gnucash/repos/staging-x86_64/PKGBUILD
(from rev 197531, gnucash/trunk/PKGBUILD)
gnucash/repos/staging-x86_64/gnucash.install
(from rev 197531, gnucash/trunk/gnucash.install)
--------------------------------+
staging-i686/PKGBUILD | 44 +++++++++++++++++++++++++++++++++++++++
staging-i686/gnucash.install | 34 ++++++++++++++++++++++++++++++
staging-x86_64/PKGBUILD | 44 +++++++++++++++++++++++++++++++++++++++
staging-x86_64/gnucash.install | 34 ++++++++++++++++++++++++++++++
4 files changed, 156 insertions(+)
Copied: gnucash/repos/staging-i686/PKGBUILD (from rev 197531, gnucash/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2013-10-26 17:10:36 UTC (rev 197532)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Aaron Griffin <aaron at archlinux.org>
+# Contributor: Mark Schneider <queueRAM at gmail.com>
+
+pkgname=gnucash
+pkgver=2.4.13
+pkgrel=2
+pkgdesc="A personal and small-business financial-accounting application"
+arch=('i686' 'x86_64')
+url="http://www.gnucash.org"
+license=("GPL")
+depends=('gtkhtml' 'slib' 'goffice0.8' 'libgnomeui' 'libdbi-drivers' 'aqbanking' 'desktop-file-utils')
+makedepends=('intltool')
+optdepends=('evince: for print preview'
+ 'perl-finance-quote: for stock information lookups'
+ 'perl-date-manip: for stock information lookups')
+options=('!libtool' '!makeflags' '!emptydirs')
+install=gnucash.install
+source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
+sha1sums=('cd28d4e7d84d71ade56173734d634ccadc59ed81')
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ sed -i 's|guile-config|guile-config1.8|g' configure
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ export GUILE=/usr/bin/guile1.8
+ ./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc \
+ --libexecdir=/usr/lib --disable-schemas-install --enable-ofx --enable-aqbanking
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install
+ cd src/doc/design
+ make DESTDIR="${pkgdir}" install-info
+
+ install -dm755 "${pkgdir}/usr/share/gconf/schemas"
+ gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain gnucash "${pkgdir}"/etc/gconf/schemas/*.schemas
+ rm -f "${pkgdir}"/etc/gconf/schemas/*.schemas
+}
Copied: gnucash/repos/staging-i686/gnucash.install (from rev 197531, gnucash/trunk/gnucash.install)
===================================================================
--- staging-i686/gnucash.install (rev 0)
+++ staging-i686/gnucash.install 2013-10-26 17:10:36 UTC (rev 197532)
@@ -0,0 +1,34 @@
+pkgname=gnucash
+info_dir=usr/share/info
+info_files=(gnucash-design.info)
+
+post_install() {
+ usr/sbin/gconfpkg --install ${pkgname}
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ update-desktop-database -q
+ [ -x usr/bin/install-info ] || return 0
+ for f in ${info_files[@]}; do
+ usr/bin/install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
+ done
+}
+
+pre_upgrade() {
+ pre_remove $1
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ usr/sbin/gconfpkg --uninstall ${pkgname}
+ [ -x usr/bin/install-info ] || return 0
+ for f in ${info_files[@]}; do
+ usr/bin/install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
+ done
+}
+
+post_remove() {
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
Copied: gnucash/repos/staging-x86_64/PKGBUILD (from rev 197531, gnucash/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2013-10-26 17:10:36 UTC (rev 197532)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Aaron Griffin <aaron at archlinux.org>
+# Contributor: Mark Schneider <queueRAM at gmail.com>
+
+pkgname=gnucash
+pkgver=2.4.13
+pkgrel=2
+pkgdesc="A personal and small-business financial-accounting application"
+arch=('i686' 'x86_64')
+url="http://www.gnucash.org"
+license=("GPL")
+depends=('gtkhtml' 'slib' 'goffice0.8' 'libgnomeui' 'libdbi-drivers' 'aqbanking' 'desktop-file-utils')
+makedepends=('intltool')
+optdepends=('evince: for print preview'
+ 'perl-finance-quote: for stock information lookups'
+ 'perl-date-manip: for stock information lookups')
+options=('!libtool' '!makeflags' '!emptydirs')
+install=gnucash.install
+source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
+sha1sums=('cd28d4e7d84d71ade56173734d634ccadc59ed81')
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ sed -i 's|guile-config|guile-config1.8|g' configure
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ export GUILE=/usr/bin/guile1.8
+ ./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc \
+ --libexecdir=/usr/lib --disable-schemas-install --enable-ofx --enable-aqbanking
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install
+ cd src/doc/design
+ make DESTDIR="${pkgdir}" install-info
+
+ install -dm755 "${pkgdir}/usr/share/gconf/schemas"
+ gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain gnucash "${pkgdir}"/etc/gconf/schemas/*.schemas
+ rm -f "${pkgdir}"/etc/gconf/schemas/*.schemas
+}
Copied: gnucash/repos/staging-x86_64/gnucash.install (from rev 197531, gnucash/trunk/gnucash.install)
===================================================================
--- staging-x86_64/gnucash.install (rev 0)
+++ staging-x86_64/gnucash.install 2013-10-26 17:10:36 UTC (rev 197532)
@@ -0,0 +1,34 @@
+pkgname=gnucash
+info_dir=usr/share/info
+info_files=(gnucash-design.info)
+
+post_install() {
+ usr/sbin/gconfpkg --install ${pkgname}
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ update-desktop-database -q
+ [ -x usr/bin/install-info ] || return 0
+ for f in ${info_files[@]}; do
+ usr/bin/install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
+ done
+}
+
+pre_upgrade() {
+ pre_remove $1
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ usr/sbin/gconfpkg --uninstall ${pkgname}
+ [ -x usr/bin/install-info ] || return 0
+ for f in ${info_files[@]}; do
+ usr/bin/install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
+ done
+}
+
+post_remove() {
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
More information about the arch-commits
mailing list