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

Andrea Scarpino andrea at archlinux.org
Fri Jul 8 23:24:24 EDT 2011


    Date: Friday, July 8, 2011 @ 23:24:24
  Author: andrea
Revision: 130915

upgpkg: cmake 2.8.5-1
upstream release

Modified:
  cmake/trunk/PKGBUILD
  cmake/trunk/cmake.install

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-07-09 03:11:30 UTC (rev 130914)
+++ PKGBUILD	2011-07-09 03:24:24 UTC (rev 130915)
@@ -5,21 +5,21 @@
 # Contributor: Konstantinos Pachnis <kpachnis at mes-direct.com>
 
 pkgname=cmake
-pkgver=2.8.4
+pkgver=2.8.5
 pkgrel=1
 pkgdesc="A cross-platform open-source make system"
 arch=('i686' 'x86_64')
 license=('custom')
 url="http://www.cmake.org"
-depends=('expat' 'curl' 'gcc-libs' 'shared-mime-info')
+depends=('curl' 'libarchive' 'shared-mime-info')
 makedepends=('qt')
 optdepends=('qt: cmake-gui')
 install="${pkgname}.install"
 source=("http://www.cmake.org/files/v2.8/${pkgname}-${pkgver}.tar.gz")
-md5sums=('209b7d1d04b2e00986538d74ba764fcf')
+md5sums=('3c5d32cec0f4c2dc45f4c2e84f4a20c5')
 
 build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
+  cd "${srcdir}"/${pkgname}-${pkgver}
 
   ./bootstrap --prefix=/usr \
     --mandir=/share/man \
@@ -31,8 +31,8 @@
 }
 
 package() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  make DESTDIR=${pkgdir} install
+  cd "${srcdir}"/${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
 
   vimpath="$pkgdir/usr/share/vim/vimfiles"
   install -Dm644 Docs/cmake-indent.vim ${vimpath}/indent/cmake-indent.vim

Modified: cmake.install
===================================================================
--- cmake.install	2011-07-09 03:11:30 UTC (rev 130914)
+++ cmake.install	2011-07-09 03:24:24 UTC (rev 130915)
@@ -1,5 +1,6 @@
 post_install() {
 	update-mime-database usr/share/mime &> /dev/null
+    [ -x usr/bin/update-desktop-database ] && update-desktop-database -q
 }
 
 post_upgrade() {



More information about the arch-commits mailing list