[arch-commits] Commit in koffice-doc/trunk (PKGBUILD)

Ronald van Haren ronald at archlinux.org
Thu Apr 2 17:37:31 EDT 2009


    Date: Thursday, April 2, 2009 @ 17:37:30
  Author: ronald
Revision: 32936

upgpkg: koffice-doc 1.9.99.0-1

Modified:
  koffice-doc/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-04-02 21:35:21 UTC (rev 32935)
+++ PKGBUILD	2009-04-02 21:37:30 UTC (rev 32936)
@@ -9,7 +9,7 @@
 arch=('i686' 'x86_64')
 url='http://koffice.kde.org'
 license=('GPL' 'LGPL' 'FDL')
-depends=('koffice')
+depends=("koffice=${pkgver}")
 makedepends=('pkgconfig' 'cmake' 'automoc4' 'boost' 'eigen')
 source=("http://download.kde.org/unstable/koffice-${pkgver}/src/koffice-${pkgver}.tar.bz2")
 md5sums=('46dcbdda79c6a9aa645d1d473c8d2046')
@@ -18,9 +18,14 @@
 	cd ${srcdir}
 	mkdir build
 	cd build
-	cmake ../koffice-${pkgver}/doc \
+	cmake ../koffice-${pkgver} \
 		-DCMAKE_BUILD_TYPE=Release \
 		-DCMAKE_INSTALL_PREFIX=/usr
+
+	cd doc
 	make || return 1
 	make DESTDIR=${pkgdir} install
+
+        # Files below are in the koffice package
+	rm -rf ${pkgdir}/usr/share/applications/kde4/koffice.desktop
 }



More information about the arch-commits mailing list