Date: Thursday, October 24, 2013 @ 12:41:15 Author: spupykin Revision: 99090
upgpkg: pgadmin3 1.18.1-3 upd Added: pgadmin3/trunk/pgadmin3.install Modified: pgadmin3/trunk/PKGBUILD ------------------+ PKGBUILD | 3 ++- pgadmin3.install | 11 +++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2013-10-24 10:26:37 UTC (rev 99089) +++ PKGBUILD 2013-10-24 10:41:15 UTC (rev 99090) @@ -6,7 +6,7 @@ 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" @@ -13,6 +13,7 @@ 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') Added: pgadmin3.install =================================================================== --- pgadmin3.install (rev 0) +++ pgadmin3.install 2013-10-24 10:41:15 UTC (rev 99090) @@ -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 +}