calligra moved to stable

This commit is contained in:
abveritas 2011-11-26 16:08:07 +00:00
parent cdc74568f8
commit 58a4454eef
15 changed files with 893 additions and 0 deletions

433
calligra-l10n/PKGBUILD Normal file
View File

@ -0,0 +1,433 @@
#
# KDE SC Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgbase=calligra-l10n
pkgname=('calligra-l10n-ca'
'calligra-l10n-ca@valencia'
'calligra-l10n-da'
'calligra-l10n-de'
'calligra-l10n-el'
'calligra-l10n-en_GB'
'calligra-l10n-es'
'calligra-l10n-et'
'calligra-l10n-fr'
# 'calligra-l10n-gl'
# 'calligra-l10n-hu'
'calligra-l10n-it'
# 'calligra-l10n-ja'
'calligra-l10n-kk'
'calligra-l10n-nb'
'calligra-l10n-nds'
'calligra-l10n-nl'
'calligra-l10n-pl'
'calligra-l10n-pt'
'calligra-l10n-pt_BR'
'calligra-l10n-ru'
'calligra-l10n-sv'
# 'calligra-l10n-tr'
'calligra-l10n-uk'
# 'calligra-l10n-zh_cn'
'calligra-l10n-zh_TW')
pkgver=2.3.84
pkgrel=2
pkgdesc="Localization for Calligra"
arch=('any')
url="www.calligra-suite.org/"
license=('LGPL')
makedepends=('cmake' 'automoc4' 'kdelibs' 'docbook-xsl')
source=(ftp://ftp.kde.org/pub/kde/unstable/calligra-${pkgver}/calligra-l10n/calligra-l10n-ca-${pkgver}.tar.bz2
ftp://ftp.kde.org/pub/kde/unstable/calligra-${pkgver}/calligra-l10n/calligra-l10n-ca@valencia-${pkgver}.tar.bz2
ftp://ftp.kde.org/pub/kde/unstable/calligra-${pkgver}/calligra-l10n/calligra-l10n-cs-${pkgver}.tar.bz2
ftp://ftp.kde.org/pub/kde/unstable/calligra-${pkgver}/calligra-l10n/calligra-l10n-da-${pkgver}.tar.bz2
ftp://ftp.kde.org/pub/kde/unstable/calligra-${pkgver}/calligra-l10n/calligra-l10n-de-${pkgver}.tar.bz2
ftp://ftp.kde.org/pub/kde/unstable/calligra-${pkgver}/calligra-l10n/calligra-l10n-el-${pkgver}.tar.bz2
ftp://ftp.kde.org/pub/kde/unstable/calligra-${pkgver}/calligra-l10n/calligra-l10n-en_GB-${pkgver}.tar.bz2
ftp://ftp.kde.org/pub/kde/unstable/calligra-${pkgver}/calligra-l10n/calligra-l10n-es-${pkgver}.tar.bz2
ftp://ftp.kde.org/pub/kde/unstable/calligra-${pkgver}/calligra-l10n/calligra-l10n-et-${pkgver}.tar.bz2
ftp://ftp.kde.org/pub/kde/unstable/calligra-${pkgver}/calligra-l10n/calligra-l10n-fr-${pkgver}.tar.bz2
ftp://ftp.kde.org/pub/kde/unstable/calligra-${pkgver}/calligra-l10n/calligra-l10n-it-${pkgver}.tar.bz2
ftp://ftp.kde.org/pub/kde/unstable/calligra-${pkgver}/calligra-l10n/calligra-l10n-kk-${pkgver}.tar.bz2
ftp://ftp.kde.org/pub/kde/unstable/calligra-${pkgver}/calligra-l10n/calligra-l10n-nb-${pkgver}.tar.bz2
ftp://ftp.kde.org/pub/kde/unstable/calligra-${pkgver}/calligra-l10n/calligra-l10n-nds-${pkgver}.tar.bz2
ftp://ftp.kde.org/pub/kde/unstable/calligra-${pkgver}/calligra-l10n/calligra-l10n-nl-${pkgver}.tar.bz2
ftp://ftp.kde.org/pub/kde/unstable/calligra-${pkgver}/calligra-l10n/calligra-l10n-pl-${pkgver}.tar.bz2
ftp://ftp.kde.org/pub/kde/unstable/calligra-${pkgver}/calligra-l10n/calligra-l10n-pt-${pkgver}.tar.bz2
ftp://ftp.kde.org/pub/kde/unstable/calligra-${pkgver}/calligra-l10n/calligra-l10n-pt_BR-${pkgver}.tar.bz2
ftp://ftp.kde.org/pub/kde/unstable/calligra-${pkgver}/calligra-l10n/calligra-l10n-ru-${pkgver}.tar.bz2
ftp://ftp.kde.org/pub/kde/unstable/calligra-${pkgver}/calligra-l10n/calligra-l10n-sv-${pkgver}.tar.bz2
ftp://ftp.kde.org/pub/kde/unstable/calligra-${pkgver}/calligra-l10n/calligra-l10n-uk-${pkgver}.tar.bz2
ftp://ftp.kde.org/pub/kde/unstable/calligra-${pkgver}/calligra-l10n/calligra-l10n-zh_TW-${pkgver}.tar.bz2)
md5sums=('ab42fb9872874314f09d7e2c6c6161bb' #calligra-l10n/calligra-l10n-ca-2.3.84.tar.bz2
'78d1a030782cffe49106ec123cf1f578' #calligra-l10n/calligra-l10n-ca@valencia-2.3.84.tar.bz2
'c98034a8674f57a3e9b10ca4605b4a59' #calligra-l10n/calligra-l10n-cs-2.3.84.tar.bz2
'b1d51caddfceb30b62520824a9a373ff' #calligra-l10n/calligra-l10n-da-2.3.84.tar.bz2
'2a4f924a4c3a1b92ae67565c9375f158' #calligra-l10n/calligra-l10n-de-2.3.84.tar.bz2
'514a2aeb60792fc9851159ec61784fbc' #calligra-l10n/calligra-l10n-el-2.3.84.tar.bz2
'0dcf0468e3a3a207010fd6aa6a87c4c6' #calligra-l10n/calligra-l10n-en_GB-2.3.84.tar.bz2
'a645c4fdf29fa537585c8bdf71101387' #calligra-l10n/calligra-l10n-es-2.3.84.tar.bz2
'61b25fd848f706178d78bb166d180d54' #calligra-l10n/calligra-l10n-et-2.3.84.tar.bz2
'97c6f859ca97040a523eb5fc0f0663bb' #calligra-l10n/calligra-l10n-fr-2.3.84.tar.bz2
'7e215d52040812814e1173834b6e99ac' #calligra-l10n/calligra-l10n-it-2.3.84.tar.bz2
'd4396f958821e8d666a930e75e8a321a' #calligra-l10n/calligra-l10n-kk-2.3.84.tar.bz2
'f4889d8b6043e4e8956595233a4fbe5a' #calligra-l10n/calligra-l10n-nb-2.3.84.tar.bz2
'acfc2e47c0f1832060d66b0c14ce880f' #calligra-l10n/calligra-l10n-nds-2.3.84.tar.bz2
'1e3fe10b2dc2a4209ed7d986b46cbf0f' #calligra-l10n/calligra-l10n-nl-2.3.84.tar.bz2
'e470c2c22c24cda50d16a712bafd2ed0' #calligra-l10n/calligra-l10n-pl-2.3.84.tar.bz2
'474a7ca87365cb52494d113239a25bcb' #calligra-l10n/calligra-l10n-pt-2.3.84.tar.bz2
'6aeaa13c8fc5584eb5a530d7f1df72ea' #calligra-l10n/calligra-l10n-pt_BR-2.3.84.tar.bz2
'8721f05a46797066df97826b6657f8f7' #calligra-l10n/calligra-l10n-ru-2.3.84.tar.bz2
'0f1bab8cb3994995bfcf0463f369053d' #calligra-l10n/calligra-l10n-sv-2.3.84.tar.bz2
'dcd6519d68b91d9761afbcf5fecd9c27' #calligra-l10n/calligra-l10n-uk-2.3.84.tar.bz2
'69da7a4d48d574611839eb6f692d7403') #calligra-l10n/calligra-l10n-zh_TW-2.3.84.tar.bz2'
build() {
cd $srcdir
install -d build/ca
cd build/ca
cmake ${srcdir}/calligra-l10n-ca-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
cd ../..
install -d build/ca@valencia
cd build/ca@valencia
cmake ${srcdir}/calligra-l10n-ca@valencia-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
cd ../..
install -d build/da
cd build/da
cmake ${srcdir}/calligra-l10n-da-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
cd ../..
install -d build/de
cd build/de
cmake ${srcdir}/calligra-l10n-de-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
cd ../..
install -d build/el
cd build/el
cmake ${srcdir}/calligra-l10n-el-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
cd ../..
install -d build/en_GB
cd build/en_GB
cmake ${srcdir}/calligra-l10n-en_GB-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
cd ../..
install -d build/es
cd build/es
cmake ${srcdir}/calligra-l10n-es-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
cd ../..
install -d build/et
cd build/et
cmake ${srcdir}/calligra-l10n-et-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
cd ../..
install -d build/fr
cd build/fr
cmake ${srcdir}/calligra-l10n-fr-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
cd ../..
# install -d build/gl
# cd build/gl
# cmake ${srcdir}/calligra-l10n-gl-${pkgver} \
# -DCMAKE_BUILD_TYPE=Release \
# -DCMAKE_INSTALL_PREFIX=/usr
# make
# cd ../..
# install -d build/hu
# cd build/hu
# cmake ${srcdir}/calligra-l10n-hu-${pkgver} \
# -DCMAKE_BUILD_TYPE=Release \
# -DCMAKE_INSTALL_PREFIX=/usr
# make
# cd ../..
install -d build/it
cd build/it
cmake ${srcdir}/calligra-l10n-it-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
cd ../..
# install -d build/ja
# cd build/ja
# cmake ${srcdir}/calligra-l10n-ja-${pkgver} \
# -DCMAKE_BUILD_TYPE=Release \
# -DCMAKE_INSTALL_PREFIX=/usr
# make
# cd ../..
install -d build/kk
cd build/kk
cmake ${srcdir}/calligra-l10n-kk-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
cd ../..
install -d build/nb
cd build/nb
cmake ${srcdir}/calligra-l10n-nb-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
cd ../..
install -d build/nds
cd build/nds
cmake ${srcdir}/calligra-l10n-nds-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
cd ../..
install -d build/nl
cd build/nl
cmake ${srcdir}/calligra-l10n-nl-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
cd ../..
install -d build/pl
cd build/pl
cmake ${srcdir}/calligra-l10n-pl-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
cd ../..
install -d build/pt
cd build/pt
cmake ${srcdir}/calligra-l10n-pt-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
cd ../..
install -d build/pt_BR
cd build/pt_BR
cmake ${srcdir}/calligra-l10n-pt_BR-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
cd ../..
install -d build/ru
cd build/ru
cmake ${srcdir}/calligra-l10n-ru-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
cd ../..
install -d build/sv
cd build/sv
cmake ${srcdir}/calligra-l10n-sv-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
cd ../..
# install -d build/tr
# cd build/tr
# cmake ${srcdir}/calligra-l10n-tr-${pkgver} \
# -DCMAKE_BUILD_TYPE=Release \
# -DCMAKE_INSTALL_PREFIX=/usr
# make
# cd ../..
install -d build/uk
cd build/uk
cmake ${srcdir}/calligra-l10n-uk-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
cd ../..
# install -d build/zh_CN
# cd build/zh_CN
# cmake ${srcdir}/calligra-l10n-zh_CN-${pkgver} \
# -DCMAKE_BUILD_TYPE=Release \
# -DCMAKE_INSTALL_PREFIX=/usr
# make
# cd ../..
install -d build/zh_TW
cd build/zh_TW
cmake ${srcdir}/calligra-l10n-zh_TW-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
cd ../..
}
package_calligra-l10n-ca() {
pkgdesc=('Catalan Localization for calligra')
cd $srcdir/build/ca
make DESTDIR=$pkgdir install
}
package_calligra-l10n-ca@valencia() {
pkgdesc=('Catalan (Valencian) Localization for calligra')
cd $srcdir/build/ca@valencia
make DESTDIR=$pkgdir install
}
package_calligra-l10n-da() {
pkgdesc=('Danish Localization for calligra')
cd $srcdir/build/da
make DESTDIR=$pkgdir install
}
package_calligra-l10n-de() {
pkgdesc=('German Localization for calligra')
cd $srcdir/build/de
make DESTDIR=$pkgdir install
}
package_calligra-l10n-el() {
pkgdesc=('Greek Localization for calligra')
cd $srcdir/build/el
make DESTDIR=$pkgdir install
}
package_calligra-l10n-en_GB() {
pkgdesc=('British Localization for calligra')
cd $srcdir/build/en_GB
make DESTDIR=$pkgdir install
}
package_calligra-l10n-es() {
pkgdesc=('Spanish Localization for calligra')
cd $srcdir/build/es
make DESTDIR=$pkgdir install
}
package_calligra-l10n-et() {
pkgdesc=('Estonian Localization for calligra')
cd $srcdir/build/et
make DESTDIR=$pkgdir install
}
package_calligra-l10n-fr() {
pkgdesc=('French Localization for calligra')
cd $srcdir/build/fr
make DESTDIR=$pkgdir install
}
#package_calligra-l10n-gl() {
# pkgdesc=('Galician Localization for calligra')
# cd $srcdir/build/gl
# make DESTDIR=$pkgdir install
#}
#package_calligra-l10n-hu() {
# pkgdesc=('Hungarian Localization for calligra')
# cd $srcdir/build/hu
# make DESTDIR=$pkgdir install
#}
package_calligra-l10n-it() {
pkgdesc=('Italian Localization for calligra')
cd $srcdir/build/it
make DESTDIR=$pkgdir install
}
#package_calligra-l10n-ja() {
# pkgdesc=('Japanese Localization for calligra')
# cd $srcdir/build/ja
# make DESTDIR=$pkgdir install
#}
package_calligra-l10n-kk() {
pkgdesc=('Kazakh Localization for calligra')
cd $srcdir/build/kk
make DESTDIR=$pkgdir install
}
package_calligra-l10n-nb() {
pkgdesc=('Norwegian Bookmal Localization for calligra')
cd $srcdir/build/nb
make DESTDIR=$pkgdir install
}
package_calligra-l10n-nds() {
pkgdesc=('Low Saxon Localization for calligra')
cd $srcdir/build/nds
make DESTDIR=$pkgdir install
}
package_calligra-l10n-nl() {
pkgdesc=('Dutch Localization for calligra')
cd $srcdir/build/nl
make DESTDIR=$pkgdir install
}
package_calligra-l10n-pl() {
pkgdesc=('Polish Localization for calligra')
cd $srcdir/build/pl
make DESTDIR=$pkgdir install
}
package_calligra-l10n-pt() {
pkgdesc=('Portugese Localization for calligra')
cd $srcdir/build/pt
make DESTDIR=$pkgdir install
}
package_calligra-l10n-pt_BR() {
pkgdesc=('Brazilian Portugese Localization for calligra')
cd $srcdir/build/pt_BR
make DESTDIR=$pkgdir install
}
package_calligra-l10n-ru() {
pkgdesc=('Russian Localization for calligra')
cd $srcdir/build/ru
make DESTDIR=$pkgdir install
}
package_calligra-l10n-sv() {
pkgdesc=('Swedish Localization for calligra')
cd $srcdir/build/sv
make DESTDIR=$pkgdir install
}
#package_calligra-l10n-tr() {
# pkgdesc=('Turkish Localization for calligra')
# cd $srcdir/build/tr
# make DESTDIR=$pkgdir install
#}
package_calligra-l10n-uk() {
pkgdesc=('Ukrainian Localization for calligra')
cd $srcdir/build/uk
make DESTDIR=$pkgdir install
}
#package_calligra-l10n-zh_cn() {
# pkgdesc=('Simplified Chinese Localization for calligra')
# cd $srcdir/build/zh_CN
# make DESTDIR=$pkgdir install
#}
package_calligra-l10n-zh_TW() {
pkgdesc=('Traditional Chinese Localization for calligra')
cd $srcdir/build/zh_TW
make DESTDIR=$pkgdir install
}

307
calligra/PKGBUILD Normal file
View File

@ -0,0 +1,307 @@
#
# KDE SC Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgbase=calligra
pkgname=('calligra-filters'
'calligra-interfaces'
'calligra-libs'
'calligra-plugins'
'calligra-pics'
'calligra-servicetypes'
'calligra-templates'
'calligra-tools'
'calligra-karbon'
#'calligra-karbon-doc'
'calligra-kexi'
#'calligra-kexi-doc'
#'calligra-kformula'
#'calligra-kformula-doc'
'calligra-kounavail'
'calligra-plan'
'calligra-stage'
#'calligra-stage-doc'
'calligra-krita'
'calligra-tables'
#'calligra-tables-doc'
'calligra-words'
'calligra-handbook'
'calligra-thesaurus-doc'
'calligra-braindump'
'calligra-flow')
pkgver=2.3.84
pkgrel=3
arch=('i686' 'x86_64')
url='http://www.calligra-suite.org'
license=('FDL1.2' 'GPL2' 'LGPL')
makedepends=('kdelibs' 'kdepimlibs' 'eigen' 'freetds' 'kdegraphics-okular' 'kdeedu-marble' 'xbase'
'libgsf' 'libwpd' 'libwpg' 'pstoedit' 'glew' 'gsl' 'cmake' 'automoc4' 'libspnav' 'libqtgtl'
'boost' 'libkdcraw' 'libpqxx' 'fftw' 'opengtl' 'docbook-xsl' 'create-resources' 'lcms2' 'qrencode' 'libdmtx')
groups=('calligra')
source=("http://download.kde.org/unstable/${pkgbase}-${pkgver}/${pkgbase}-${pkgver}.tar.bz2")
md5sums=('6888603d1ff09843a8581eef66baad41')
build() {
cd "${srcdir}"
mkdir build
cd build
cmake ../${pkgbase}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_active=OFF \
-DBUILD_mobile=OFF \
-DBUILD_mysql=OFF \
-DKDCRAW_LOCAL_FOUND=/usr/lib/libkdcraw.so
make
}
package_calligra-filters() {
pkgdesc="Filters for the Calligra office suite"
optdepends=('libgsf: Microsoft Word document importer'
'libwpd: WordPerfect document importer'
'libwpg: Corel WordPerfect Graphics image importer'
'pstoedit: Karbon EPS import filter'
'libkdcraw: support for raw images')
conflicts=('koffice-common' 'calligra-filters-git')
replaces=('koffice-common' 'calligra-filters-git')
install=calligra-filters.install
cd "${srcdir}"/build/filters
make DESTDIR="${pkgdir}" install
}
package_calligra-interfaces() {
pkgdesc="Interfaces for the Calligra office suite"
depends=('calligra-libs')
conflicts=('koffice-common' 'calligra-interfaces-git')
replaces=('koffice-common' 'calligra-interfaces-git')
cd "${srcdir}"/build/interfaces
make DESTDIR="${pkgdir}" install
}
package_calligra-libs() {
pkgdesc="Libraries for the Calligra office suite"
depends=('kdepimlibs' 'lcms2' 'calligra-servicetypes' 'kdeedu-marble' 'create-resources' 'libspnav')
conflicts=('koffice-common' 'calligra-libs-git')
replaces=('koffice-common' 'calligra-libs-git')
cd "${srcdir}"/build/libs
make DESTDIR="${pkgdir}" install
}
package_calligra-plugins() {
pkgdesc="Plugins for the Calligra office suite"
depends=('calligra-libs')
conflicts=('koffice-common' 'calligra-plugins-git')
replaces=('koffice-common' 'calligra-plugins-git')
cd "${srcdir}"/build/plugins
make DESTDIR="${pkgdir}" install
}
package_calligra-pics() {
pkgdesc="Icons for the Calligra office suite"
depends=('calligra-libs')
conflicts=('koffice-common' 'calligra-pics-git')
replaces=('koffice-common' 'calligra-pics-git')
install=calligra.install
cd "${srcdir}"/build/pics
make DESTDIR="${pkgdir}" install
}
package_calligra-servicetypes() {
pkgdesc="Servicetypes for the Calligra office suite"
conflicts=('koffice-common' 'calligra-servicetypes-git')
replaces=('koffice-common' 'calligra-servicetypes-git')
install=calligra.install
cd "${srcdir}"/build/servicetypes
make DESTDIR="${pkgdir}" install
}
package_calligra-templates() {
pkgdesc="Templates for the Calligra office suite"
conflicts=('koffice-common' 'calligra-templates-git')
replaces=('koffice-common' 'calligra-templates-git')
cd "${srcdir}"/build/templates
make DESTDIR="${pkgdir}" install
}
package_calligra-tools() {
pkgdesc="Tools for the Calligra office suite"
depends=('calligra-tables' 'calligra-words')
conflicts=('koffice-common' 'calligra-tools-git')
replaces=('koffice-common' 'calligra-tools-git')
install=calligra-tools.install
cd "${srcdir}"/build/tools
make DESTDIR="${pkgdir}" install
}
#### package common files done #####
#### package apps and their docs #####
package_calligra-karbon() {
pkgdesc="Create scalable vector drawings"
depends=('calligra-libs' 'calligra-templates' 'hicolor-icon-theme')
provides=('karbon')
conflicts=('koffice-karbon' 'calligra-karbon-git')
replaces=('koffice-karbon' 'calligra-karbon-git')
install=calligra-karbon.install
cd "${srcdir}"/build/karbon
make DESTDIR="${pkgdir}" install
}
package_calligra-kexi() {
pkgdesc="Develop desktop database applications"
depends=('calligra-libs' 'calligra-tables' 'sqlite3' 'xbase')
provides=('kexi')
conflicts=('koffice-kexi' 'calligra-kexi-git')
replaces=('koffice-kexi' 'calligra-kexi-git')
install=calligra-kexi.install
cd "${srcdir}"/build/kexi
make DESTDIR="${pkgdir}" install
}
# pkgdesc="Documentation for Kexi"
# depends=('calligra-kexi')
# conflicts=('koffice-doc' 'calligra-kexi-doc-git')
# replaces=('koffice-doc' 'calligra-kexi-doc-git')
# cd "${srcdir}"/build/doc/kexi
# make DESTDIR="${pkgdir}" install
#}
package_calligra-kounavail() {
pkgdesc="Unavailable Calligra Document"
depends=('calligra-libs')
provides=('kounavail')
conflicts=('koffice-kounavail' 'calligra-kounavail-git')
replaces=('koffice-kounavail' 'calligra-kounavail-git')
cd "${srcdir}"/build/kounavail
make DESTDIR="${pkgdir}" install
}
package_calligra-plan() {
pkgdesc="Calligra Project Management Component"
depends=('calligra-words' 'hicolor-icon-theme' 'calligra-libs' 'kdepimlibs' 'calligra-templates' \
'calligra-plugins')
conflicts=('koffice-kplato' 'calligra-kplato-git')
replaces=('koffice-kplato' 'calligra-kplato-git')
install=calligra-plan.install
cd "${srcdir}"/build/plan
make DESTDIR="${pkgdir}" install
}
package_calligra-stage() {
pkgdesc="Write presentation documents"
depends=('calligra-libs' 'calligra-templates' 'hicolor-icon-theme')
optdepends=('calligra-filters: import/export filters')
conflicts=('koffice-kpresenter' 'calligra-stage-git')
replaces=('koffice-kpresenter' 'calligra-stage-git')
install=calligra-stage.install
cd "${srcdir}"/build/stage
make DESTDIR="${pkgdir}" install
}
package_calligra-krita() {
pkgdesc="Edit and paint images"
depends=('calligra-libs' 'calligra-templates' 'calligra-plugins' 'glew' 'qimageblitz' 'poppler-qt' 'openexr' 'opengtl' 'hicolor-icon-theme' 'shared-mime-info' 'lcms2' 'libqtgtl')
optdepends=('calligra-filters: import/export filters')
provides=('krita')
conflicts=('koffice-krita' 'calligra-krita-git')
replaces=('koffice-krita' 'calligra-krita-git')
install=calligra-krita.install
cd "${srcdir}"/build/krita
make DESTDIR="${pkgdir}" install
}
package_calligra-tables() {
pkgdesc="Write spreadsheet documents"
depends=('calligra-libs' 'calligra-templates' 'calligra-plugins' 'gsl' 'hicolor-icon-theme')
optdepends=('calligra-filters: import/export filters')
conflicts=('koffice-kspread' 'calligra-tables-git')
replaces=('koffice-kspread' 'calligra-tables-git')
install=calligra-tables.install
cd "${srcdir}"/build/tables
make DESTDIR="${pkgdir}" install
}
package_calligra-tables-doc() {
pkgdesc="Documentation for Tables"
depends=('calligra-tables')
conflicts=('koffice-doc' 'calligra-tables-doc-git')
replaces=('koffice-doc' 'calligra-tables-doc-git')
cd "${srcdir}"/build/doc/tables
make DESTDIR="${pkgdir}" install
}
package_calligra-words() {
pkgdesc="Word Processor"
depends=('calligra-libs' 'calligra-templates' 'calligra-plugins' 'calligra-pics'
'calligra-kounavail' 'hicolor-icon-theme')
optdepends=('calligra-filters: import/export filters')
conflicts=('koffice-kword' 'calligra-words-git')
replaces=('koffice-kword' 'calligra-words-git')
install=calligra-words.install
cd "${srcdir}"/build/words
make DESTDIR="${pkgdir}" install
}
package_calligra-handbook() {
pkgdesc="Documentation for Calligra"
conflicts=('koffice-doc' 'koffice-common' 'calligra-handbook-git')
replaces=('koffice-doc' 'koffice-common' 'calligra-handbook-git')
cd "${srcdir}"/build/doc/calligra
make DESTDIR="${pkgdir}" install
}
package_calligra-thesaurus-doc() {
pkgdesc="Documentation for Thesaurus"
conflicts=('koffice-doc' 'calligra-thesaurus-doc-git')
replaces=('koffice-doc' 'calligra-thesaurus-doc-git')
cd "${srcdir}"/build/doc/thesaurus
make DESTDIR="${pkgdir}" install
}
package_calligra-braindump() {
pkgdesc="Notes and idea gathering"
conflicts=('calligra-braindump-git')
replaces=('calligra-braindump-git')
install=calligra-braindump.install
cd "${srcdir}"/build/braindump
make DESTDIR="${pkgdir}" install
}
package_calligra-flow() {
pkgdesc="Flowchart & Diagram Editing"
install=calligra-flow.install
conflict=('calligra-flow-git')
replaces=('calligra-flow-git')
cd "${srcdir}"/build/flow
make DESTDIR="${pkgdir}" install
}

View File

@ -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
}

View File

@ -0,0 +1,11 @@
post_install() {
update-mime-database usr/share/mime &> /dev/null
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}

View File

@ -0,0 +1,11 @@
post_install() {
update-mime-database usr/share/mime &> /dev/null
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}

View File

@ -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
}

View File

@ -0,0 +1,11 @@
post_install() {
update-desktop-database -q
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

12
calligra/calligra.install Normal file
View File

@ -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
}