From 012c4b7f27441c85d7f9c46a619a3b356c94cab7 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 12 Aug 2012 00:04:05 +0000 Subject: Sun Aug 12 00:04:05 UTC 2012 --- community-testing/homebank/PKGBUILD | 29 +++++++++++++++++++++++++++++ community-testing/homebank/homebank.install | 13 +++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 community-testing/homebank/PKGBUILD create mode 100644 community-testing/homebank/homebank.install (limited to 'community-testing/homebank') diff --git a/community-testing/homebank/PKGBUILD b/community-testing/homebank/PKGBUILD new file mode 100644 index 000000000..3ddacc089 --- /dev/null +++ b/community-testing/homebank/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 74951 2012-08-10 05:04:47Z ebelanger $ +# Maintainer: Jaroslav Lichtblau +# Contributor: William Rea + +pkgname=homebank +pkgver=4.4 +pkgrel=3 +pkgdesc="Free, easy, personal accounting for everyone" +arch=('i686' 'x86_64') +url="http://homebank.free.fr/" +license=('GPL') +depends=('desktop-file-utils' 'gtk2' 'hicolor-icon-theme' 'libofx' 'librsvg' 'perlxml' 'shared-mime-info') +makedepends=('intltool') +install=$pkgname.install +source=(http://homebank.free.fr/public/$pkgname-$pkgver.tar.gz) +sha256sums=('13b89373575e3ac229d2683aa7296778ad7cdae1a7a019c9124a1d5b23dce7d2') + +build() { + cd "${srcdir}/$pkgname-$pkgver" + + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/$pkgname-$pkgver" + + make DESTDIR="${pkgdir}" install +} diff --git a/community-testing/homebank/homebank.install b/community-testing/homebank/homebank.install new file mode 100644 index 000000000..3c862f44b --- /dev/null +++ b/community-testing/homebank/homebank.install @@ -0,0 +1,13 @@ +post_install() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + update-desktop-database -q + update-mime-database usr/share/mime +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} -- cgit v1.2.3-54-g00ecf