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

Ronald van Haren ronald at archlinux.org
Mon Feb 13 10:01:54 EST 2012


    Date: Monday, February 13, 2012 @ 10:01:54
  Author: ronald
Revision: 150149

upgpkg: basket 1.81-3

sign package; add update-desktop-database to install file

Modified:
  basket/trunk/PKGBUILD
  basket/trunk/basket.install

----------------+
 PKGBUILD       |   12 ++++++------
 basket.install |    1 +
 2 files changed, 7 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-02-13 14:49:35 UTC (rev 150148)
+++ PKGBUILD	2012-02-13 15:01:54 UTC (rev 150149)
@@ -5,19 +5,19 @@
 
 pkgname=basket
 pkgver=1.81
-pkgrel=2
+pkgrel=3
 pkgdesc="All-purpose notes taker for KDE."
 arch=('i686' 'x86_64')
 url="http://basket.kde.org/"
-depends=('kdelibs' 'gpgme' 'qimageblitz' 'hicolor-icon-theme')
+depends=('kdelibs' 'gpgme' 'qimageblitz' 'hicolor-icon-theme' 'kdebase-runtime')
 makedepends=('cmake' 'automoc4')
 install=$pkgname.install
 license=('GPL')
 source=(http://basket.kde.org/downloads/$pkgname-$pkgver.tar.bz2)
-md5sums=('cbb1bc5ca7c2ad1485c433c00a8f65a1')
+sha1sums=('209d92048523f341259d79510fa56977690e5dfc')
 
 build() {
-  cd $srcdir/$pkgname-$pkgver
+  cd ${srcdir}/${pkgname}-${pkgver}
   cmake ../${pkgbase}-${pkgver} \
     -DCMAKE_BUILD_TYPE=Release \
     -DCMAKE_SKIP_RPATH=ON \
@@ -27,6 +27,6 @@
 }
 
 package() {
-  cd $srcdir/$pkgname-$pkgver
-  make DESTDIR=$startdir/pkg install
+  cd $srcdir/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
 }

Modified: basket.install
===================================================================
--- basket.install	2012-02-13 14:49:35 UTC (rev 150148)
+++ basket.install	2012-02-13 15:01:54 UTC (rev 150149)
@@ -1,5 +1,6 @@
 post_install() {
         xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+	update-desktop-database -q
 }
 
 post_upgrade() {



More information about the arch-commits mailing list