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

Ionut Biru ibiru at archlinux.org
Sat Feb 19 16:41:59 UTC 2011


    Date: Saturday, February 19, 2011 @ 11:41:59
  Author: ibiru
Revision: 110473

upgpkg: leafpad 0.8.18.1-2
execute update-desktop-database in install script FS#22941

Modified:
  leafpad/trunk/PKGBUILD
  leafpad/trunk/leafpad.install

-----------------+
 PKGBUILD        |    8 ++++++--
 leafpad.install |    1 +
 2 files changed, 7 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-02-19 16:39:34 UTC (rev 110472)
+++ PKGBUILD	2011-02-19 16:41:59 UTC (rev 110473)
@@ -4,12 +4,12 @@
 
 pkgname=leafpad
 pkgver=0.8.18.1
-pkgrel=1
+pkgrel=2
 pkgdesc="A notepad clone for GTK+ 2.0"
 arch=('i686' 'x86_64')
 url="http://tarot.freeshell.org/leafpad/"
 license=('GPL')
-depends=('gtk2')
+depends=('gtk2' 'desktop-file-utils')
 makedepends=('intltool')
 install=leafpad.install
 source=(http://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz)
@@ -19,6 +19,10 @@
   cd "${srcdir}/${pkgname}-${pkgver}"
   ./configure --prefix=/usr --enable-chooser
   make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
   make DESTDIR="${pkgdir}" install
   echo 'StartupNotify=true' >> "${pkgdir}/usr/share/applications/leafpad.desktop"
 }

Modified: leafpad.install
===================================================================
--- leafpad.install	2011-02-19 16:39:34 UTC (rev 110472)
+++ leafpad.install	2011-02-19 16:41:59 UTC (rev 110473)
@@ -1,4 +1,5 @@
 post_install() {
+    update-desktop-database -q
     gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
 }
 




More information about the arch-commits mailing list