summaryrefslogtreecommitdiff
path: root/community/pgadmin3
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-10-25 02:08:36 -0700
committerroot <root@rshg054.dnsready.net>2013-10-25 02:08:36 -0700
commit5a3821aec094b38a412cf5e6997c08b6428d6f77 (patch)
tree80caf9e8d169d5c43d828ede599cb91fa065d8df /community/pgadmin3
parent94ded0cb27161b972228cfef8ea2e6f60af0f2b2 (diff)
Fri Oct 25 02:07:10 PDT 2013
Diffstat (limited to 'community/pgadmin3')
-rw-r--r--community/pgadmin3/PKGBUILD5
-rw-r--r--community/pgadmin3/pgadmin3.install11
2 files changed, 14 insertions, 2 deletions
diff --git a/community/pgadmin3/PKGBUILD b/community/pgadmin3/PKGBUILD
index fe73a337c..314f4e50f 100644
--- a/community/pgadmin3/PKGBUILD
+++ b/community/pgadmin3/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 99053 2013-10-23 12:11:30Z spupykin $
+# $Id: PKGBUILD 99091 2013-10-24 10:41:34Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Douglas Soares de Andrade <dsa@aur.archlinux.org>
# Contributor: Benjamin Andresen <benny@klapmuetz.org>
@@ -6,13 +6,14 @@
pkgname=pgadmin3
pkgver=1.18.1
-pkgrel=2
+pkgrel=3
pkgdesc="Comprehensive design and management interface for PostgreSQL"
arch=('i686' 'x86_64')
url="http://www.pgadmin.org"
license=('custom')
depends=('wxgtk' 'postgresql-libs' 'libxslt')
makedepends=('libpqxx' 'krb5' 'postgresql' 'imagemagick')
+install=pgadmin3.install
source=(http://ftp.postgresql.org/pub/pgadmin3/release/v${pkgver}/src/pgadmin3-${pkgver}.tar.gz)
md5sums=('7dde96680407c900af72d0839a377de4')
diff --git a/community/pgadmin3/pgadmin3.install b/community/pgadmin3/pgadmin3.install
new file mode 100644
index 000000000..56e20c736
--- /dev/null
+++ b/community/pgadmin3/pgadmin3.install
@@ -0,0 +1,11 @@
+post_install() {
+ [ -x usr/bin/update-desktop-database ] && update-desktop-database -q || true
+}
+
+post_upgrade() {
+ [ -x usr/bin/update-desktop-database ] && update-desktop-database -q || true
+}
+
+post_remove() {
+ [ -x usr/bin/update-desktop-database ] && update-desktop-database -q || true
+}