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

Pierre Schmitz pierre at archlinux.org
Thu Sep 17 15:43:16 UTC 2009


    Date: Thursday, September 17, 2009 @ 11:43:15
  Author: pierre
Revision: 52342

vim rebuild

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

---------------+
 PKGBUILD      |    5 +++--
 cmake.install |   11 +++++++++++
 2 files changed, 14 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-09-17 15:42:43 UTC (rev 52341)
+++ PKGBUILD	2009-09-17 15:43:15 UTC (rev 52342)
@@ -5,14 +5,15 @@
 
 pkgname=cmake
 pkgver=2.6.4
-pkgrel=2
+pkgrel=3
 pkgdesc="A cross-platform open-source make system"
 arch=('i686' 'x86_64')
 license=('custom')
 url="http://www.cmake.org"
-depends=('expat' 'xmlrpc-c' 'gcc-libs')
+depends=('expat' 'xmlrpc-c' 'gcc-libs' 'shared-mime-info')
 makedepends=('qt')
 optdepends=('qt: cmake-gui')
+install=cmake.install
 source=("http://www.cmake.org/files/v2.6/$pkgname-$pkgver.tar.gz")
 md5sums=('50f387d0436696c4a68b5512a72c9cde')
 

Added: cmake.install
===================================================================
--- cmake.install	                        (rev 0)
+++ cmake.install	2009-09-17 15:43:15 UTC (rev 52342)
@@ -0,0 +1,11 @@
+post_install() {
+	update-mime-database usr/share/mime &> /dev/null
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}




More information about the arch-commits mailing list