[arch-commits] Commit in krusader/trunk (PKGBUILD gcc4.4.patch krusader.install)

Andrea Scarpino andrea at archlinux.org
Fri Mar 12 10:54:07 EST 2010


    Date: Friday, March 12, 2010 @ 10:54:06
  Author: andrea
Revision: 72142

upgpkg: krusader 2.1.0beta1-1
upstream beta release

Added:
  krusader/trunk/krusader.install
Modified:
  krusader/trunk/PKGBUILD
Deleted:
  krusader/trunk/gcc4.4.patch

------------------+
 PKGBUILD         |   25 ++++++++++++++-----------
 gcc4.4.patch     |   10 ----------
 krusader.install |   11 +++++++++++
 3 files changed, 25 insertions(+), 21 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-03-12 11:10:22 UTC (rev 72141)
+++ PKGBUILD	2010-03-12 15:54:06 UTC (rev 72142)
@@ -4,27 +4,30 @@
 # Contributor: Lucien Immink <l.immink at student.fnt.hvu.nl>
 
 pkgname=krusader
-pkgver=2.0.0
-pkgrel=3
+pkgver=2.1.0beta1
+_pkgver=2.1.0-beta1
+pkgrel=1
 pkgdesc="An alternative file manager for KDE resembling Midnight Commander"
 url="http://krusader.sourceforge.net/"
 arch=('i686' 'x86_64')
 license=('GPL')
-depends=('kdebase-runtime')
-source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz
-	'gcc4.4.patch')
-md5sums=('f80f500a136d549739ad5d4bcab7fa5f'
-         '24c47d5cb967f81e3f90576093163f1e')
+depends=('kdebase-lib')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${_pkgver}.tar.bz2")
+md5sums=('fa4bf47cc8da451d115afdb5c1feb8af')
 
 build() {
   cd ${srcdir}
-
-  patch -Np0 -i gcc4.4.patch
-
   mkdir build
   cd build
-  cmake ../${pkgname}-${pkgver} \
+  cmake ../${pkgname}-${_pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
     -DCMAKE_INSTALL_PREFIX=/usr
   make || return 1
+}
+
+package() {
+  cd ${srcdir}/build
   make DESTDIR=${pkgdir} install
 }

Deleted: gcc4.4.patch
===================================================================
--- gcc4.4.patch	2010-03-12 11:10:22 UTC (rev 72141)
+++ gcc4.4.patch	2010-03-12 15:54:06 UTC (rev 72142)
@@ -1,10 +0,0 @@
---- krusader-2.0.0/krusader/VFS/kiojobwrapper.cpp~  2009-04-11 12:52:31.318455396 +0200
-+++ krusader-2.0.0/krusader/VFS/kiojobwrapper.cpp   2009-04-11 12:55:12.005493271 +0200
-@@ -28,6 +28,7 @@
-  *                                                                         *
-  ***************************************************************************/
-
-+#include <stdio.h>
- #include "kiojobwrapper.h"
- #include <qevent.h>
- #include <kurl.h>

Added: krusader.install
===================================================================
--- krusader.install	                        (rev 0)
+++ krusader.install	2010-03-12 15:54:06 UTC (rev 72142)
@@ -0,0 +1,11 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}



More information about the arch-commits mailing list