[arch-commits] Commit in gnucash/trunk (PKGBUILD gnucash.install)
Antonio Rojas
arojas at archlinux.org
Thu May 5 20:54:52 UTC 2016
Date: Thursday, May 5, 2016 @ 22:54:52
Author: arojas
Revision: 266972
Hooks
Modified:
gnucash/trunk/PKGBUILD
Deleted:
gnucash/trunk/gnucash.install
-----------------+
PKGBUILD | 3 +--
gnucash.install | 36 ------------------------------------
2 files changed, 1 insertion(+), 38 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-05-05 20:40:43 UTC (rev 266971)
+++ PKGBUILD 2016-05-05 20:54:52 UTC (rev 266972)
@@ -4,7 +4,7 @@
pkgname=gnucash
pkgver=2.6.12
-pkgrel=3
+pkgrel=4
pkgdesc="A personal and small-business financial-accounting application"
arch=('i686' 'x86_64')
url="http://www.gnucash.org"
@@ -16,7 +16,6 @@
'perl-finance-quote: for stock information lookups'
'perl-date-manip: for stock information lookups')
options=('!makeflags' '!emptydirs')
-install=gnucash.install
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
sha1sums=('c4e38f8ffb2d82a2dfc8ebc6884e53eeaef72d9f')
Deleted: gnucash.install
===================================================================
--- gnucash.install 2016-05-05 20:40:43 UTC (rev 266971)
+++ gnucash.install 2016-05-05 20:54:52 UTC (rev 266972)
@@ -1,36 +0,0 @@
-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
- glib-compile-schemas usr/share/glib-2.0/schemas
-}
-
-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
- glib-compile-schemas usr/share/glib-2.0/schemas
-}
More information about the arch-commits
mailing list