From 5a3821aec094b38a412cf5e6997c08b6428d6f77 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 25 Oct 2013 02:08:36 -0700 Subject: Fri Oct 25 02:07:10 PDT 2013 --- community/pgadmin3/PKGBUILD | 5 +++-- community/pgadmin3/pgadmin3.install | 11 +++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 community/pgadmin3/pgadmin3.install (limited to 'community/pgadmin3') 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 # Maintainer: Douglas Soares de Andrade # Contributor: Benjamin Andresen @@ -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 +} -- cgit v1.2.3-54-g00ecf