[arch-commits] Commit in pgadmin3/trunk (PKGBUILD pgadmin3.install)

Sergej Pupykin spupykin at archlinux.org
Tue Apr 14 17:13:17 UTC 2015


    Date: Tuesday, April 14, 2015 @ 19:13:17
  Author: spupykin
Revision: 131348

upgpkg: pgadmin3 1.20.0-3

upd

Modified:
  pgadmin3/trunk/PKGBUILD
  pgadmin3/trunk/pgadmin3.install

------------------+
 PKGBUILD         |    9 +++++----
 pgadmin3.install |    1 +
 2 files changed, 6 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-04-14 15:44:21 UTC (rev 131347)
+++ PKGBUILD	2015-04-14 17:13:17 UTC (rev 131348)
@@ -6,7 +6,7 @@
 
 pkgname=pgadmin3
 pkgver=1.20.0
-pkgrel=2
+pkgrel=3
 pkgdesc="Comprehensive design and management interface for PostgreSQL"
 arch=('i686' 'x86_64')
 url="http://www.pgadmin.org"
@@ -19,7 +19,7 @@
 
 build() {
   cd "$srcdir"
-  convert pgadmin3-${pkgver}/pgadmin/include/images/pgAdmin3.ico pgadmin3.png
+  convert pgadmin3-${pkgver}/pgadmin/include/images/pgAdmin3.ico pgAdmin3.png
 
   cd "pgadmin3-${pkgver}"
   sed -i 's/wx-config/wx-config-2.8/' configure
@@ -35,7 +35,8 @@
   install -Dm644 i18n/$pkgname.lng "$pkgdir/usr/share/pgadmin3/i18n"
   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
   install -Dm644 pgadmin/include/images/pgAdmin3.ico "$pkgdir/usr/share/pgadmin3/pgAdmin3.ico"
-  install -Dm644 "$srcdir/pgadmin3-3.png" "$pkgdir/usr/share/pgadmin3/pgAdmin3.png"
+  install -Dm644 "$srcdir/pgAdmin3-5.png" "$pkgdir/usr/share/icons/hicolor/16x16/apps/pgAdmin3.png"
+  install -Dm644 "$srcdir/pgAdmin3-4.png" "$pkgdir/usr/share/icons/hicolor/32x32/apps/pgAdmin3.png"
+  install -Dm644 "$srcdir/pgAdmin3-3.png" "$pkgdir/usr/share/icons/hicolor/48x48/apps/pgAdmin3.png"
   install -Dm644 "pkg/pgadmin3.desktop" "$pkgdir/usr/share/applications/pgadmin3.desktop"
-  sed -i 's|Icon=.*|Icon=pgAdmin3|' "$pkgdir/usr/share/applications/pgadmin3.desktop"
 }

Modified: pgadmin3.install
===================================================================
--- pgadmin3.install	2015-04-14 15:44:21 UTC (rev 131347)
+++ pgadmin3.install	2015-04-14 17:13:17 UTC (rev 131348)
@@ -1,5 +1,6 @@
 post_install() {
   [ -x usr/bin/update-desktop-database ] && update-desktop-database -q || true
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
 }
 
 post_upgrade() {



More information about the arch-commits mailing list