[arch-commits] Commit in calligra/repos (4 files)
Antonio Rojas
arojas at archlinux.org
Tue Jan 3 14:09:22 UTC 2017
Date: Tuesday, January 3, 2017 @ 14:09:21
Author: arojas
Revision: 285241
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
calligra/repos/testing-i686/PKGBUILD
(from rev 285240, calligra/trunk/PKGBUILD)
calligra/repos/testing-x86_64/PKGBUILD
(from rev 285240, calligra/trunk/PKGBUILD)
Deleted:
calligra/repos/testing-i686/PKGBUILD
calligra/repos/testing-x86_64/PKGBUILD
-------------------------+
/PKGBUILD | 324 ++++++++++++++++++++++++++++++++++++++++++++++
testing-i686/PKGBUILD | 165 -----------------------
testing-x86_64/PKGBUILD | 165 -----------------------
3 files changed, 324 insertions(+), 330 deletions(-)
Deleted: testing-i686/PKGBUILD
===================================================================
--- testing-i686/PKGBUILD 2017-01-03 14:08:50 UTC (rev 285240)
+++ testing-i686/PKGBUILD 2017-01-03 14:09:21 UTC (rev 285241)
@@ -1,165 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Ronald van Haren <ronald.archlinux.org>
-
-pkgbase=calligra
-pkgname=('braindump'
- 'calligra-devtools'
- 'calligra-extras'
- 'calligra-filters'
- 'calligra-handbook'
- 'karbon'
- 'calligra-libs'
- 'calligra-plan'
- 'calligra-plugins'
- 'calligra-sheets'
- 'calligra-stage'
- 'calligra-words')
-pkgver=3.0.0
-pkgrel=4
-arch=('i686' 'x86_64')
-url='http://www.calligra-suite.org/'
-license=('FDL1.2' 'GPL2' 'LGPL')
-makedepends=('extra-cmake-modules' 'kcmutils' 'kdoctools' 'python' 'kdelibs4support' 'knotifyconfig'
- 'kdesignerplugin' 'kross' 'ktexteditor' 'threadweaver' 'kactivities' 'khtml' 'boost'
- 'libwpg' 'poppler-qt5' 'kdiagram' 'kreport' 'eigen' 'marble' 'openjpeg' 'pstoedit' 'libspnav'
- 'libvisio' 'libetonyek' 'libodfgen' 'libwps' 'gsl' 'openexr' 'akonadi-contacts' 'kcalcore'
- 'vc' 'qca-qt5' 'git')
-groups=('calligra')
-source=("http://download.kde.org/stable/${pkgbase}-${pkgver}/${pkgbase}-${pkgver}.tar.gz")
-md5sums=('e1380e00acb92db59d4a24ee856acaa9')
-
-prepare() {
- mkdir -p build
-}
-
-build() {
- cd build
- cmake ../${pkgbase}-${pkgver} \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DKDE_INSTALL_LIBDIR=lib \
- -DBUILD_TESTING=OFF \
- -DBUILD_UNMAINTAINED=ON
- make
-}
-
-package_calligra-filters() {
- pkgdesc="Filters for the Calligra office suite"
- depends=('calligra-sheets' 'calligra-words' 'karbon' 'libodfgen')
- optdepends=('libwpg: Corel WordPerfect Graphics image importer'
- 'libwps: Microsoft Works file word processor format import'
- 'libvisio: Microsoft Visio import filter'
- 'libetonyek: Apple Keynote import filter'
- 'pstoedit: EPS to SVG filter'
- 'poppler: PDF to SVG filter'
- 'khtml: HTML to ODS filter'
- 'openjpeg: PDF to SVG filer')
- cd build/filters
- make DESTDIR="$pkgdir" install
-}
-
-package_braindump() {
- pkgdesc="Notes and idea gathering"
- depends=('qt5-webkit' 'hicolor-icon-theme' 'calligra-libs')
- conflicts=('calligra-braindump')
- replaces=('calligra-braindump')
-
- cd build/braindump
- make DESTDIR="$pkgdir" install
-}
-
-package_calligra-libs() {
- pkgdesc="Libraries for the Calligra office suite"
- depends=('akonadi-contacts' 'ilmbase' 'kactivities' 'qca-qt5')
-
- for _d in interfaces libs pics servicetypes; do
- cd "$srcdir"/build/$_d
- make DESTDIR="$pkgdir" install
- done
-}
-
-package_calligra-plugins() {
- pkgdesc="Plugins for the Calligra office suite"
- depends=('calligra-filters' 'libspnav' 'kdiagram')
-
- cd build/plugins
- make DESTDIR="$pkgdir" install
-}
-
-package_karbon() {
- pkgdesc="Create scalable vector drawings"
- depends=('calligra-libs' 'hicolor-icon-theme')
- optdepends=('calligra-filters: import/export filters'
- 'calligra-extras: extra calligra tools')
- conflicts=('calligra-karbon')
- replaces=('calligra-karbon')
-
- cd build/karbon
- make DESTDIR="$pkgdir" install
-}
-
-package_calligra-plan() {
- pkgdesc="Calligra Project Management Component"
- depends=('calligra-words' 'kreport' 'kcalcore' 'khtml' 'kdiagram')
-
- cd build/plan
- make DESTDIR="$pkgdir" install
-}
-
-package_calligra-stage() {
- pkgdesc="Write presentation documents"
- depends=('calligra-libs' 'qt5-webkit' 'hicolor-icon-theme')
-
- cd build/stage
- make DESTDIR="$pkgdir" install
-}
-
-package_calligra-sheets() {
- pkgdesc="Write spreadsheet documents"
- depends=('calligra-libs' 'gsl' 'kdelibs4support' 'kcmutils' 'knotifyconfig' 'hicolor-icon-theme')
- optdepends=('calligra-filters: import/export filters'
- 'calligra-plugins: extra calligra plugins'
- 'calligra-extras: extra calligra tools')
-
- cd build/sheets
- make DESTDIR="$pkgdir" install
-}
-
-package_calligra-words() {
- pkgdesc="Word Processor"
- depends=('calligra-libs' 'hicolor-icon-theme')
- optdepends=('calligra-extras: extra calligra tools')
-
- cd build/words
- make DESTDIR="$pkgdir" install
-}
-
-package_calligra-handbook() {
- pkgdesc="Documentation for Calligra"
- options=('docs')
-
- cd build/doc/calligra
- make DESTDIR="$pkgdir" install
-}
-
-package_calligra-extras() {
- pkgdesc="Calligra suite extras"
- depends=('calligra-libs')
-
- cd build/extras
- make DESTDIR="$pkgdir" install
-
- cd ../data
- make DESTDIR="$pkgdir" install
-}
-
-package_calligra-devtools() {
- pkgdesc="Calligra developer tools"
- depends=('calligra-sheets' 'calligra-words' 'poppler-qt5')
-
- cd build/devtools
- make DESTDIR="$pkgdir" install
-}
Copied: calligra/repos/testing-i686/PKGBUILD (from rev 285240, calligra/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2017-01-03 14:09:21 UTC (rev 285241)
@@ -0,0 +1,162 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Ronald van Haren <ronald.archlinux.org>
+
+pkgbase=calligra
+pkgname=('calligra-devtools'
+ 'calligra-extras'
+ 'calligra-filters'
+ 'karbon'
+ 'calligra-libs'
+ 'calligra-plan'
+ 'calligra-plugins'
+ 'calligra-sheets'
+ 'calligra-stage'
+ 'calligra-words'
+ 'calligra-l10n')
+pkgver=3.0.0.1
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://www.calligra-suite.org/'
+license=('FDL1.2' 'GPL2' 'LGPL')
+makedepends=('extra-cmake-modules' 'kcmutils' 'kdoctools' 'python' 'kdelibs4support' 'knotifyconfig'
+ 'kdesignerplugin' 'kross' 'ktexteditor' 'threadweaver' 'kactivities' 'khtml' 'boost'
+ 'libwpg' 'okular' 'kdiagram' 'kreport' 'eigen' 'marble' 'openjpeg' 'pstoedit' 'libspnav' 'cauchy'
+ 'libvisio' 'libetonyek' 'libodfgen' 'libwps' 'gsl' 'openexr' 'akonadi-contacts' 'kcalcore' 'vc' 'qca-qt5')
+groups=('calligra')
+source=("http://download.kde.org/stable/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.xz"{,.sig})
+md5sums=('c4cffca0a8008b5efd285414eeeddcff'
+ 'SKIP')
+validpgpkeys=(05D00A8B73A686789E0A156858B9596C722EA3BD) # Boudewijn Rempt <foundation at krita.org>
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../${pkgbase}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DKDE_INSTALL_LIBDIR=lib \
+ -DBUILD_TESTING=OFF
+ make
+}
+
+package_calligra-filters() {
+ pkgdesc="Filters for the Calligra office suite"
+ depends=('calligra-sheets' 'calligra-words' 'karbon' 'libodfgen')
+ optdepends=('libwpg: Corel WordPerfect Graphics image importer'
+ 'libwps: Microsoft Works file word processor format import'
+ 'libvisio: Microsoft Visio import filter'
+ 'libetonyek: Apple Keynote import filter'
+ 'pstoedit: EPS to SVG filter'
+ 'poppler: PDF to SVG filter'
+ 'khtml: HTML to ODS filter'
+ 'openjpeg: PDF to SVG filer')
+ cd build/filters
+ make DESTDIR="$pkgdir" install
+}
+
+package_calligra-libs() {
+ pkgdesc="Libraries for the Calligra office suite"
+ depends=('akonadi-contacts' 'ilmbase' 'kactivities' 'qca-qt5' 'kross')
+
+ for _d in interfaces libs pics servicetypes; do
+ cd "$srcdir"/build/$_d
+ make DESTDIR="$pkgdir" install
+ done
+}
+
+package_calligra-plugins() {
+ pkgdesc="Plugins for the Calligra office suite"
+ depends=('calligra-filters' 'libspnav' 'kdiagram')
+ optdepends=('cauchy: formula shape')
+
+ cd build/plugins
+ make DESTDIR="$pkgdir" install
+}
+
+package_karbon() {
+ pkgdesc="Create scalable vector drawings"
+ depends=('calligra-libs' 'hicolor-icon-theme')
+ optdepends=('calligra-filters: import/export filters'
+ 'calligra-extras: extra calligra tools')
+ conflicts=('calligra-karbon')
+ replaces=('calligra-karbon')
+
+ cd build/karbon
+ make DESTDIR="$pkgdir" install
+}
+
+package_calligra-plan() {
+ pkgdesc="Calligra Project Management Component"
+ depends=('calligra-words' 'kreport' 'kcalcore' 'khtml' 'kdiagram')
+
+ cd build/plan
+ make DESTDIR="$pkgdir" install
+}
+
+package_calligra-stage() {
+ pkgdesc="Write presentation documents"
+ depends=('calligra-libs' 'qt5-webkit' 'hicolor-icon-theme')
+
+ cd build/stage
+ make DESTDIR="$pkgdir" install
+}
+
+package_calligra-sheets() {
+ pkgdesc="Write spreadsheet documents"
+ depends=('calligra-libs' 'gsl' 'kdelibs4support' 'kcmutils' 'knotifyconfig' 'hicolor-icon-theme')
+ optdepends=('calligra-filters: import/export filters'
+ 'calligra-plugins: extra calligra plugins'
+ 'calligra-extras: extra calligra tools')
+
+ cd build/sheets
+ make DESTDIR="$pkgdir" install
+}
+
+package_calligra-words() {
+ pkgdesc="Word Processor"
+ depends=('calligra-libs' 'hicolor-icon-theme')
+ optdepends=('calligra-extras: extra calligra tools')
+
+ cd build/words
+ make DESTDIR="$pkgdir" install
+}
+
+package_calligra-extras() {
+ pkgdesc="Calligra suite extras"
+ depends=('calligra-libs')
+
+ cd build/extras
+ make DESTDIR="$pkgdir" install
+
+ cd ../data
+ make DESTDIR="$pkgdir" install
+}
+
+package_calligra-devtools() {
+ pkgdesc="Calligra developer tools"
+ depends=('calligra-sheets' 'calligra-words' 'poppler-qt5')
+
+ cd build/devtools
+ make DESTDIR="$pkgdir" install
+}
+
+package_calligra-l10n() {
+ pkgdesc="Localization for Calligra"
+ for _lang in bs ca ca at valencia cs da de el en_gb es et fi fr gl hu it ja kk nb nl \
+ pl pt pt_br ru sk sv uk zh_cn zh_tw; do
+ conflicts+=(calligra-l10n-$_lang)
+ replaces+=(calligra-l10n-$_lang)
+ done
+
+ cd build
+ mkdir -p install_l10n
+ make DESTDIR=install_l10n install
+ mkdir -p "$pkgdir"/usr/share
+ mv install_l10n/usr/share/locale "$pkgdir"/usr/share/
+}
Deleted: testing-x86_64/PKGBUILD
===================================================================
--- testing-x86_64/PKGBUILD 2017-01-03 14:08:50 UTC (rev 285240)
+++ testing-x86_64/PKGBUILD 2017-01-03 14:09:21 UTC (rev 285241)
@@ -1,165 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Ronald van Haren <ronald.archlinux.org>
-
-pkgbase=calligra
-pkgname=('braindump'
- 'calligra-devtools'
- 'calligra-extras'
- 'calligra-filters'
- 'calligra-handbook'
- 'karbon'
- 'calligra-libs'
- 'calligra-plan'
- 'calligra-plugins'
- 'calligra-sheets'
- 'calligra-stage'
- 'calligra-words')
-pkgver=3.0.0
-pkgrel=4
-arch=('i686' 'x86_64')
-url='http://www.calligra-suite.org/'
-license=('FDL1.2' 'GPL2' 'LGPL')
-makedepends=('extra-cmake-modules' 'kcmutils' 'kdoctools' 'python' 'kdelibs4support' 'knotifyconfig'
- 'kdesignerplugin' 'kross' 'ktexteditor' 'threadweaver' 'kactivities' 'khtml' 'boost'
- 'libwpg' 'poppler-qt5' 'kdiagram' 'kreport' 'eigen' 'marble' 'openjpeg' 'pstoedit' 'libspnav'
- 'libvisio' 'libetonyek' 'libodfgen' 'libwps' 'gsl' 'openexr' 'akonadi-contacts' 'kcalcore'
- 'vc' 'qca-qt5' 'git')
-groups=('calligra')
-source=("http://download.kde.org/stable/${pkgbase}-${pkgver}/${pkgbase}-${pkgver}.tar.gz")
-md5sums=('e1380e00acb92db59d4a24ee856acaa9')
-
-prepare() {
- mkdir -p build
-}
-
-build() {
- cd build
- cmake ../${pkgbase}-${pkgver} \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DKDE_INSTALL_LIBDIR=lib \
- -DBUILD_TESTING=OFF \
- -DBUILD_UNMAINTAINED=ON
- make
-}
-
-package_calligra-filters() {
- pkgdesc="Filters for the Calligra office suite"
- depends=('calligra-sheets' 'calligra-words' 'karbon' 'libodfgen')
- optdepends=('libwpg: Corel WordPerfect Graphics image importer'
- 'libwps: Microsoft Works file word processor format import'
- 'libvisio: Microsoft Visio import filter'
- 'libetonyek: Apple Keynote import filter'
- 'pstoedit: EPS to SVG filter'
- 'poppler: PDF to SVG filter'
- 'khtml: HTML to ODS filter'
- 'openjpeg: PDF to SVG filer')
- cd build/filters
- make DESTDIR="$pkgdir" install
-}
-
-package_braindump() {
- pkgdesc="Notes and idea gathering"
- depends=('qt5-webkit' 'hicolor-icon-theme' 'calligra-libs')
- conflicts=('calligra-braindump')
- replaces=('calligra-braindump')
-
- cd build/braindump
- make DESTDIR="$pkgdir" install
-}
-
-package_calligra-libs() {
- pkgdesc="Libraries for the Calligra office suite"
- depends=('akonadi-contacts' 'ilmbase' 'kactivities' 'qca-qt5')
-
- for _d in interfaces libs pics servicetypes; do
- cd "$srcdir"/build/$_d
- make DESTDIR="$pkgdir" install
- done
-}
-
-package_calligra-plugins() {
- pkgdesc="Plugins for the Calligra office suite"
- depends=('calligra-filters' 'libspnav' 'kdiagram')
-
- cd build/plugins
- make DESTDIR="$pkgdir" install
-}
-
-package_karbon() {
- pkgdesc="Create scalable vector drawings"
- depends=('calligra-libs' 'hicolor-icon-theme')
- optdepends=('calligra-filters: import/export filters'
- 'calligra-extras: extra calligra tools')
- conflicts=('calligra-karbon')
- replaces=('calligra-karbon')
-
- cd build/karbon
- make DESTDIR="$pkgdir" install
-}
-
-package_calligra-plan() {
- pkgdesc="Calligra Project Management Component"
- depends=('calligra-words' 'kreport' 'kcalcore' 'khtml' 'kdiagram')
-
- cd build/plan
- make DESTDIR="$pkgdir" install
-}
-
-package_calligra-stage() {
- pkgdesc="Write presentation documents"
- depends=('calligra-libs' 'qt5-webkit' 'hicolor-icon-theme')
-
- cd build/stage
- make DESTDIR="$pkgdir" install
-}
-
-package_calligra-sheets() {
- pkgdesc="Write spreadsheet documents"
- depends=('calligra-libs' 'gsl' 'kdelibs4support' 'kcmutils' 'knotifyconfig' 'hicolor-icon-theme')
- optdepends=('calligra-filters: import/export filters'
- 'calligra-plugins: extra calligra plugins'
- 'calligra-extras: extra calligra tools')
-
- cd build/sheets
- make DESTDIR="$pkgdir" install
-}
-
-package_calligra-words() {
- pkgdesc="Word Processor"
- depends=('calligra-libs' 'hicolor-icon-theme')
- optdepends=('calligra-extras: extra calligra tools')
-
- cd build/words
- make DESTDIR="$pkgdir" install
-}
-
-package_calligra-handbook() {
- pkgdesc="Documentation for Calligra"
- options=('docs')
-
- cd build/doc/calligra
- make DESTDIR="$pkgdir" install
-}
-
-package_calligra-extras() {
- pkgdesc="Calligra suite extras"
- depends=('calligra-libs')
-
- cd build/extras
- make DESTDIR="$pkgdir" install
-
- cd ../data
- make DESTDIR="$pkgdir" install
-}
-
-package_calligra-devtools() {
- pkgdesc="Calligra developer tools"
- depends=('calligra-sheets' 'calligra-words' 'poppler-qt5')
-
- cd build/devtools
- make DESTDIR="$pkgdir" install
-}
Copied: calligra/repos/testing-x86_64/PKGBUILD (from rev 285240, calligra/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2017-01-03 14:09:21 UTC (rev 285241)
@@ -0,0 +1,162 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Ronald van Haren <ronald.archlinux.org>
+
+pkgbase=calligra
+pkgname=('calligra-devtools'
+ 'calligra-extras'
+ 'calligra-filters'
+ 'karbon'
+ 'calligra-libs'
+ 'calligra-plan'
+ 'calligra-plugins'
+ 'calligra-sheets'
+ 'calligra-stage'
+ 'calligra-words'
+ 'calligra-l10n')
+pkgver=3.0.0.1
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://www.calligra-suite.org/'
+license=('FDL1.2' 'GPL2' 'LGPL')
+makedepends=('extra-cmake-modules' 'kcmutils' 'kdoctools' 'python' 'kdelibs4support' 'knotifyconfig'
+ 'kdesignerplugin' 'kross' 'ktexteditor' 'threadweaver' 'kactivities' 'khtml' 'boost'
+ 'libwpg' 'okular' 'kdiagram' 'kreport' 'eigen' 'marble' 'openjpeg' 'pstoedit' 'libspnav' 'cauchy'
+ 'libvisio' 'libetonyek' 'libodfgen' 'libwps' 'gsl' 'openexr' 'akonadi-contacts' 'kcalcore' 'vc' 'qca-qt5')
+groups=('calligra')
+source=("http://download.kde.org/stable/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.xz"{,.sig})
+md5sums=('c4cffca0a8008b5efd285414eeeddcff'
+ 'SKIP')
+validpgpkeys=(05D00A8B73A686789E0A156858B9596C722EA3BD) # Boudewijn Rempt <foundation at krita.org>
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../${pkgbase}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DKDE_INSTALL_LIBDIR=lib \
+ -DBUILD_TESTING=OFF
+ make
+}
+
+package_calligra-filters() {
+ pkgdesc="Filters for the Calligra office suite"
+ depends=('calligra-sheets' 'calligra-words' 'karbon' 'libodfgen')
+ optdepends=('libwpg: Corel WordPerfect Graphics image importer'
+ 'libwps: Microsoft Works file word processor format import'
+ 'libvisio: Microsoft Visio import filter'
+ 'libetonyek: Apple Keynote import filter'
+ 'pstoedit: EPS to SVG filter'
+ 'poppler: PDF to SVG filter'
+ 'khtml: HTML to ODS filter'
+ 'openjpeg: PDF to SVG filer')
+ cd build/filters
+ make DESTDIR="$pkgdir" install
+}
+
+package_calligra-libs() {
+ pkgdesc="Libraries for the Calligra office suite"
+ depends=('akonadi-contacts' 'ilmbase' 'kactivities' 'qca-qt5' 'kross')
+
+ for _d in interfaces libs pics servicetypes; do
+ cd "$srcdir"/build/$_d
+ make DESTDIR="$pkgdir" install
+ done
+}
+
+package_calligra-plugins() {
+ pkgdesc="Plugins for the Calligra office suite"
+ depends=('calligra-filters' 'libspnav' 'kdiagram')
+ optdepends=('cauchy: formula shape')
+
+ cd build/plugins
+ make DESTDIR="$pkgdir" install
+}
+
+package_karbon() {
+ pkgdesc="Create scalable vector drawings"
+ depends=('calligra-libs' 'hicolor-icon-theme')
+ optdepends=('calligra-filters: import/export filters'
+ 'calligra-extras: extra calligra tools')
+ conflicts=('calligra-karbon')
+ replaces=('calligra-karbon')
+
+ cd build/karbon
+ make DESTDIR="$pkgdir" install
+}
+
+package_calligra-plan() {
+ pkgdesc="Calligra Project Management Component"
+ depends=('calligra-words' 'kreport' 'kcalcore' 'khtml' 'kdiagram')
+
+ cd build/plan
+ make DESTDIR="$pkgdir" install
+}
+
+package_calligra-stage() {
+ pkgdesc="Write presentation documents"
+ depends=('calligra-libs' 'qt5-webkit' 'hicolor-icon-theme')
+
+ cd build/stage
+ make DESTDIR="$pkgdir" install
+}
+
+package_calligra-sheets() {
+ pkgdesc="Write spreadsheet documents"
+ depends=('calligra-libs' 'gsl' 'kdelibs4support' 'kcmutils' 'knotifyconfig' 'hicolor-icon-theme')
+ optdepends=('calligra-filters: import/export filters'
+ 'calligra-plugins: extra calligra plugins'
+ 'calligra-extras: extra calligra tools')
+
+ cd build/sheets
+ make DESTDIR="$pkgdir" install
+}
+
+package_calligra-words() {
+ pkgdesc="Word Processor"
+ depends=('calligra-libs' 'hicolor-icon-theme')
+ optdepends=('calligra-extras: extra calligra tools')
+
+ cd build/words
+ make DESTDIR="$pkgdir" install
+}
+
+package_calligra-extras() {
+ pkgdesc="Calligra suite extras"
+ depends=('calligra-libs')
+
+ cd build/extras
+ make DESTDIR="$pkgdir" install
+
+ cd ../data
+ make DESTDIR="$pkgdir" install
+}
+
+package_calligra-devtools() {
+ pkgdesc="Calligra developer tools"
+ depends=('calligra-sheets' 'calligra-words' 'poppler-qt5')
+
+ cd build/devtools
+ make DESTDIR="$pkgdir" install
+}
+
+package_calligra-l10n() {
+ pkgdesc="Localization for Calligra"
+ for _lang in bs ca ca at valencia cs da de el en_gb es et fi fr gl hu it ja kk nb nl \
+ pl pt pt_br ru sk sv uk zh_cn zh_tw; do
+ conflicts+=(calligra-l10n-$_lang)
+ replaces+=(calligra-l10n-$_lang)
+ done
+
+ cd build
+ mkdir -p install_l10n
+ make DESTDIR=install_l10n install
+ mkdir -p "$pkgdir"/usr/share
+ mv install_l10n/usr/share/locale "$pkgdir"/usr/share/
+}
More information about the arch-commits
mailing list