summaryrefslogtreecommitdiff
path: root/community-testing/homebank
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-08-12 00:04:05 +0000
committerroot <root@rshg054.dnsready.net>2012-08-12 00:04:05 +0000
commit012c4b7f27441c85d7f9c46a619a3b356c94cab7 (patch)
tree3d07a327d03ab3277405e9f8083afa603f468571 /community-testing/homebank
parent073a889144d77058f1eff2100ad48a538bdc0422 (diff)
Sun Aug 12 00:04:05 UTC 2012
Diffstat (limited to 'community-testing/homebank')
-rw-r--r--community-testing/homebank/PKGBUILD29
-rw-r--r--community-testing/homebank/homebank.install13
2 files changed, 42 insertions, 0 deletions
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 <dragonlord@aur.archlinux.org>
+# Contributor: William Rea <sillywilly@gmail.com>
+
+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
+}