summaryrefslogtreecommitdiff
path: root/kde-unstable
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-03-24 00:01:22 +0000
committerroot <root@rshg054.dnsready.net>2012-03-24 00:01:22 +0000
commitadac5afd500d4ee3a65035e1cf5353ae236b4a61 (patch)
treef4363891ec4de7b720eb809815fec7199292f5b0 /kde-unstable
parent1512c792951d7fbd2c9c336f9bf35654bbb85cc6 (diff)
Sat Mar 24 00:01:22 UTC 2012
Diffstat (limited to 'kde-unstable')
-rw-r--r--kde-unstable/calligra/PKGBUILD20
-rw-r--r--kde-unstable/calligra/calligra-sheets.install12
2 files changed, 21 insertions, 11 deletions
diff --git a/kde-unstable/calligra/PKGBUILD b/kde-unstable/calligra/PKGBUILD
index 4e62c1805..1708ce18f 100644
--- a/kde-unstable/calligra/PKGBUILD
+++ b/kde-unstable/calligra/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 149336 2012-02-06 20:49:48Z andrea $
+# $Id: PKGBUILD 154086 2012-03-22 22:09:51Z andrea $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
@@ -17,13 +17,13 @@ pkgname=('calligra-filters'
'calligra-plan'
'calligra-stage'
'calligra-krita'
- 'calligra-tables'
+ 'calligra-sheets'
'calligra-words'
'calligra-handbook'
'calligra-thesaurus-doc'
'calligra-braindump'
'calligra-flow')
-pkgver=2.3.87
+pkgver=2.3.92
pkgrel=1
arch=('i686' 'x86_64')
url='http://www.calligra-suite.org'
@@ -33,7 +33,7 @@ makedepends=('kdepimlibs' 'eigen2' 'freetds' 'kdegraphics-okular' 'libgsf'
'boost' 'libkdcraw' 'libpqxx' 'fftw' 'opengtl' 'lcms2')
groups=('calligra')
source=("http://download.kde.org/unstable/${pkgbase}-${pkgver}/${pkgbase}-${pkgver}.tar.bz2")
-md5sums=('c4c7f802f04c86cd4265829900d2fd10')
+md5sums=('4121631cf148e801cca29e2167b1806d')
build() {
cd "${srcdir}"
@@ -209,17 +209,15 @@ package_calligra-krita() {
make DESTDIR="${pkgdir}" install
}
-package_calligra-tables() {
+package_calligra-sheets() {
pkgdesc="Write spreadsheet documents"
depends=('calligra-libs' 'calligra-templates' 'calligra-plugins' 'gsl')
optdepends=('calligra-filters: import/export filters')
- conflicts=('koffice-kspread' 'koffice-kspread-doc' 'calligra-tables-doc')
- replaces=('koffice-kspread' 'koffice-kspread-doc' 'calligra-tables-doc')
- install=calligra-tables.install
+ conflicts=('koffice-kspread' 'koffice-kspread-doc' 'calligra-tables-doc' 'calligra-tables')
+ replaces=('koffice-kspread' 'koffice-kspread-doc' 'calligra-tables-doc' 'calligra-tables')
+ install=calligra-sheets.install
- cd "${srcdir}"/build/tables
- make DESTDIR="${pkgdir}" install
- cd "${srcdir}"/build/doc/tables
+ cd "${srcdir}"/build/sheets
make DESTDIR="${pkgdir}" install
}
diff --git a/kde-unstable/calligra/calligra-sheets.install b/kde-unstable/calligra/calligra-sheets.install
new file mode 100644
index 000000000..6c87527e2
--- /dev/null
+++ b/kde-unstable/calligra/calligra-sheets.install
@@ -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
+}