[arch-commits] Commit in calligra/kde-unstable (PKGBUILD calligra-tables.install)

Andrea Scarpino andrea at archlinux.org
Thu May 19 09:43:16 UTC 2011


    Date: Thursday, May 19, 2011 @ 05:43:16
  Author: andrea
Revision: 124312

lcms2 is needed

Added:
  calligra/kde-unstable/calligra-tables.install
Modified:
  calligra/kde-unstable/PKGBUILD

-------------------------+
 PKGBUILD                |   10 +++++-----
 calligra-tables.install |   12 ++++++++++++
 2 files changed, 17 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-05-19 05:48:19 UTC (rev 124311)
+++ PKGBUILD	2011-05-19 09:43:16 UTC (rev 124312)
@@ -34,9 +34,9 @@
 arch=('i686' 'x86_64')
 url='http://www.calligra-suite.org'
 license=('FDL1.2' 'GPL2' 'LGPL')
-makedepends=('kdelibs' 'kdepimlibs' 'eigen' 'lcms' 'postgresql-libs' 'freetds'
-             'kdegraphics-okular' 'libgsf' 'libwpd' 'libwpg' 'pstoedit'
-             'cmake' 'automoc4' 'boost')
+makedepends=('kdelibs' 'kdepimlibs' 'eigen' 'lcms2' 'postgresql-libs' 'freetds'
+             'kdegraphics-okular' 'libgsf' 'libwpd' 'libwpg' 'pstoedit' 'glew'
+             'gsl' 'cmake' 'automoc4' 'boost')
 groups=('calligra')
 source=("http://download.kde.org/unstable/${pkgbase}-${pkgver}/${pkgbase}-${pkgver}.tar.bz2")
 md5sums=('f280add8d1d57cc701dc105fc92d2504')
@@ -79,7 +79,7 @@
 
 package_calligra-libs() {
   pkgdesc="Libraries for the Calligra office suite"
-  depends=('kdepimlibs' 'lcms' 'calligra-servicetypes')
+  depends=('kdepimlibs' 'lcms2' 'calligra-servicetypes')
   conflicts=('koffice-libs')
   replaces=('koffice-libs')
 
@@ -267,7 +267,7 @@
   optdepends=('koffice-filters: import/export filters')
   conflicts=('koffice-kspread')
   replaces=('koffice-kspread')
-  install=calligra.install
+  install=calligra-tables.install
 
   cd "${srcdir}"/build/tables
   make DESTDIR="${pkgdir}" install

Added: calligra-tables.install
===================================================================
--- calligra-tables.install	                        (rev 0)
+++ calligra-tables.install	2011-05-19 09:43:16 UTC (rev 124312)
@@ -0,0 +1,12 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+	update-desktop-database -q
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}




More information about the arch-commits mailing list