summaryrefslogtreecommitdiff
path: root/community-staging/homebank
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-08-11 00:02:44 +0000
committerroot <root@rshg054.dnsready.net>2012-08-11 00:02:44 +0000
commit073a889144d77058f1eff2100ad48a538bdc0422 (patch)
tree96e013a0c34f142dccb769073164cd0fd82dea95 /community-staging/homebank
parent9f2bff24c46fba67eca7c8125306a9dcd8ea8c73 (diff)
Sat Aug 11 00:02:44 UTC 2012
Diffstat (limited to 'community-staging/homebank')
-rw-r--r--community-staging/homebank/PKGBUILD29
-rw-r--r--community-staging/homebank/homebank.install13
2 files changed, 42 insertions, 0 deletions
diff --git a/community-staging/homebank/PKGBUILD b/community-staging/homebank/PKGBUILD
new file mode 100644
index 000000000..4d86e398b
--- /dev/null
+++ b/community-staging/homebank/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 74936 2012-08-10 01:45:28Z 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-staging/homebank/homebank.install b/community-staging/homebank/homebank.install
new file mode 100644
index 000000000..3c862f44b
--- /dev/null
+++ b/community-staging/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
+}