Date: Thursday, August 16, 2012 @ 05:59:28 Author: andrea Revision: 165352
db-move: moved calligra-l10n from [staging] to [testing] (any) Added: calligra-l10n/repos/testing-any/ calligra-l10n/repos/testing-any/PKGBUILD (from rev 165351, calligra-l10n/repos/staging-any/PKGBUILD) Deleted: calligra-l10n/repos/staging-any/ ----------+ PKGBUILD | 297 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 297 insertions(+) Copied: calligra-l10n/repos/testing-any/PKGBUILD (from rev 165351, calligra-l10n/repos/staging-any/PKGBUILD) =================================================================== --- testing-any/PKGBUILD (rev 0) +++ testing-any/PKGBUILD 2012-08-16 09:59:28 UTC (rev 165352) @@ -0,0 +1,297 @@ +# $Id$ +# Maintainer: Andrea Scarpino <and...@archlinux.org> + +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-fi' + '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-sk' + 'calligra-l10n-sv' + 'calligra-l10n-uk' + 'calligra-l10n-zh_cn' + 'calligra-l10n-zh_tw') +pkgver=2.5.0 +pkgrel=1 +pkgdesc="Localization for Calligra" +arch=('any') +url="www.calligra-suite.org/" +license=('LGPL') +makedepends=('cmake' 'automoc4' 'kdelibs') +options=('docs') +source=("http://download.kde.org/stable/calligra-${pkgver}/${pkgbase}/${pkgbase}-ca-${pkgver}.tar.bz2" + "http://download.kde.org/stable/calligra-${pkgver}/${pkgbase}/${pkgbase}-ca@valencia-${pkgver}.tar.bz2" + "http://download.kde.org/stable/calligra-${pkgver}/${pkgbase}/${pkgbase}-da-${pkgver}.tar.bz2" + "http://download.kde.org/stable/calligra-${pkgver}/${pkgbase}/${pkgbase}-de-${pkgver}.tar.bz2" + "http://download.kde.org/stable/calligra-${pkgver}/${pkgbase}/${pkgbase}-el-${pkgver}.tar.bz2" + "http://download.kde.org/stable/calligra-${pkgver}/${pkgbase}/${pkgbase}-en_GB-${pkgver}.tar.bz2" + "http://download.kde.org/stable/calligra-${pkgver}/${pkgbase}/${pkgbase}-es-${pkgver}.tar.bz2" + "http://download.kde.org/stable/calligra-${pkgver}/${pkgbase}/${pkgbase}-et-${pkgver}.tar.bz2" + "http://download.kde.org/stable/calligra-${pkgver}/${pkgbase}/${pkgbase}-fi-${pkgver}.tar.bz2" + "http://download.kde.org/stable/calligra-${pkgver}/${pkgbase}/${pkgbase}-fr-${pkgver}.tar.bz2" + "http://download.kde.org/stable/calligra-${pkgver}/${pkgbase}/${pkgbase}-gl-${pkgver}.tar.bz2" + "http://download.kde.org/stable/calligra-${pkgver}/${pkgbase}/${pkgbase}-hu-${pkgver}.tar.bz2" + "http://download.kde.org/stable/calligra-${pkgver}/${pkgbase}/${pkgbase}-it-${pkgver}.tar.bz2" + "http://download.kde.org/stable/calligra-${pkgver}/${pkgbase}/${pkgbase}-ja-${pkgver}.tar.bz2" + "http://download.kde.org/stable/calligra-${pkgver}/${pkgbase}/${pkgbase}-kk-${pkgver}.tar.bz2" + "http://download.kde.org/stable/calligra-${pkgver}/${pkgbase}/${pkgbase}-nb-${pkgver}.tar.bz2" + "http://download.kde.org/stable/calligra-${pkgver}/${pkgbase}/${pkgbase}-nds-${pkgver}.tar.bz2" + "http://download.kde.org/stable/calligra-${pkgver}/${pkgbase}/${pkgbase}-nl-${pkgver}.tar.bz2" + "http://download.kde.org/stable/calligra-${pkgver}/${pkgbase}/${pkgbase}-pl-${pkgver}.tar.bz2" + "http://download.kde.org/stable/calligra-${pkgver}/${pkgbase}/${pkgbase}-pt-${pkgver}.tar.bz2" + "http://download.kde.org/stable/calligra-${pkgver}/${pkgbase}/${pkgbase}-pt_BR-${pkgver}.tar.bz2" + "http://download.kde.org/stable/calligra-${pkgver}/${pkgbase}/${pkgbase}-ru-${pkgver}.tar.bz2" + "http://download.kde.org/stable/calligra-${pkgver}/${pkgbase}/${pkgbase}-sk-${pkgver}.tar.bz2" + "http://download.kde.org/stable/calligra-${pkgver}/${pkgbase}/${pkgbase}-sv-${pkgver}.tar.bz2" + "http://download.kde.org/stable/calligra-${pkgver}/${pkgbase}/${pkgbase}-uk-${pkgver}.tar.bz2" + "http://download.kde.org/stable/calligra-${pkgver}/${pkgbase}/${pkgbase}-zh_CN-${pkgver}.tar.bz2" + "http://download.kde.org/stable/calligra-${pkgver}/${pkgbase}/${pkgbase}-zh_TW-${pkgver}.tar.bz2") +md5sums=('b116d62fa7b5e08746543a61acb58729' + '0757307a2b0bc60d909377f22f378e95' + '26714837163670b2f794e4cbf48b289b' + 'a7ab75c292ec0347d137b26e8519c9d1' + '791f204ad495eec97d0b9ab5fb13c0a9' + '775ff2093a21f5382805ef85abab2ec3' + '67b364ef82747ff2ab1ff97acfaa5e4d' + '063e59501ea56869b791114095bae16f' + '0dcc6dbbbfa6ebb1fb6784511b0b1613' + '7227faad7faaa132c78af8989e0df9b9' + 'edb9176f0729f1b64b35bdb2c4cf87b5' + 'ccb9a55b1a5bba42d5b55d955da5ca0f' + '350ff6e763b98585b1d9d2e269bb04a0' + '434dac62e0ea6ff75b8eb1ca01d41cd0' + '87d469b8ebb9d2ccc93590fda6b00b60' + '66f8266ed3bb66e6ce27b7143abb9fdb' + '5276023a7ce26f3a894c752401ede5ef' + '1744cb6e23087ce2bd7945248605c182' + '7014744fa810a38ce21269761e54bd15' + '1a725565204fab75207e1b30e98bc692' + '7a7bc9f678479fbbd0c6c70ee6212891' + 'c54e5ab9cdbd88acba0f18763d9bb43b' + '642dd4570c3e2675597a244078125888' + '22d98f04e18dab523896b4f00e0e3bdc' + 'db2cb100780df5acbc0586596511d4e6' + 'c51859406e2e4af2c0e12d41513d974e' + 'f9cf5e7c5650fd07f1722df2334b6aa5') + +build() { + cd "${srcdir}" + + for lang in ca ca@valencia da de el en_GB es et fi fr gl hu it ja kk nb nds \ + nl pl pt pt_BR ru sk sv uk zh_CN zh_TW; do + mkdir -p build/$lang + cd build/$lang + cmake ${srcdir}/${pkgbase}-$lang-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr + make + cd ../.. + done +} + +package_calligra-l10n-ca() { + pkgdesc=('Catalan Localization for Calligra') + replaces=('koffice-l10n-ca') + cd "${srcdir}"/build/ca + make DESTDIR="${pkgdir}" install +} + +package_calligra-l10n-ca@valencia() { + pkgdesc=('Catalan (Valencian) Localization for Calligra') + replaces=('koffice-l10n-ca@valencia') + cd "${srcdir}"/build/ca@valencia + make DESTDIR="${pkgdir}" install +} + +package_calligra-l10n-da() { + pkgdesc=('Danish Localization for Calligra') + replaces=('koffice-l10n-da') + cd "${srcdir}"/build/da + make DESTDIR="${pkgdir}" install +} + +package_calligra-l10n-de() { + pkgdesc=('German Localization for Calligra') + replaces=('koffice-l10n-de') + cd "${srcdir}"/build/de + make DESTDIR="${pkgdir}" install +} + +package_calligra-l10n-el() { + pkgdesc=('Greek Localization for Calligra') + replaces=('koffice-l10n-el') + cd "${srcdir}"/build/el + make DESTDIR="${pkgdir}" install +} + +package_calligra-l10n-en_gb () { + pkgdesc=('British Localization for Calligra') + replaces=('koffice-l10n-en_gb') + cd "${srcdir}"/build/en_GB + make DESTDIR="${pkgdir}" install +} + +package_calligra-l10n-es() { + pkgdesc=('Spanish Localization for Calligra') + replaces=('koffice-l10n-es') + cd "${srcdir}"/build/es + make DESTDIR="${pkgdir}" install +} + +package_calligra-l10n-et() { + pkgdesc=('Estonian Localization for Calligra') + replaces=('koffice-l10n-et') + cd "${srcdir}"/build/et + make DESTDIR="${pkgdir}" install +} + +package_calligra-l10n-fi() { + pkgdesc=('Finnish Localization for Calligra') + replaces=('koffice-l10n-fi') + cd "${srcdir}"/build/fi + make DESTDIR="${pkgdir}" install +} + +package_calligra-l10n-fr() { + pkgdesc=('French Localization for Calligra') + replaces=('koffice-l10n-fr') + cd "${srcdir}"/build/fr + make DESTDIR="${pkgdir}" install +} + +package_calligra-l10n-gl() { + pkgdesc=('Galician Localization for Calligra') + replaces=('koffice-l10n-gl') + cd "${srcdir}"/build/gl + make DESTDIR="${pkgdir}" install +} + +package_calligra-l10n-hu() { + pkgdesc=('Hungarian Localization for Calligra') + replaces=('koffice-l10n-hu') + cd "${srcdir}"/build/hu + make DESTDIR="${pkgdir}" install +} + +package_calligra-l10n-it() { + pkgdesc=('Italian Localization for Calligra') + replaces=('koffice-l10n-it') + cd "${srcdir}"/build/it + make DESTDIR="${pkgdir}" install +} + +package_calligra-l10n-ja() { + pkgdesc=('Japanese Localization for Calligra') + replaces=('koffice-l10n-ja') + cd "${srcdir}"/build/ja + make DESTDIR="${pkgdir}" install +} + +package_calligra-l10n-kk() { + pkgdesc=('Kazakh Localization for Calligra') + replaces=('koffice-l10n-kk') + cd "${srcdir}"/build/kk + make DESTDIR="${pkgdir}" install +} + +package_calligra-l10n-nb() { + pkgdesc=('Norwegian Bookmal Localization for Calligra') + replaces=('koffice-l10n-nb') + cd "${srcdir}"/build/nb + make DESTDIR="${pkgdir}" install +} + +package_calligra-l10n-nds() { + pkgdesc=('Low Saxon Localization for Calligra') + replaces=('koffice-l10n-nds') + cd "${srcdir}"/build/nds + make DESTDIR="${pkgdir}" install +} + +package_calligra-l10n-nl() { + pkgdesc=('Dutch Localization for Calligra') + replaces=('koffice-l10n-nl') + cd "${srcdir}"/build/nl + make DESTDIR="${pkgdir}" install +} + +package_calligra-l10n-pl() { + pkgdesc=('Polish Localization for Calligra') + replaces=('koffice-l10n-pl') + cd "${srcdir}"/build/pl + make DESTDIR="${pkgdir}" install +} + +package_calligra-l10n-pt() { + pkgdesc=('Portugese Localization for Calligra') + replaces=('koffice-l10n-pt') + cd "${srcdir}"/build/pt + make DESTDIR="${pkgdir}" install +} + +package_calligra-l10n-pt_br() { + pkgdesc=('Brazilian Portugese Localization for Calligra') + replaces=('koffice-l10n-pt_br') + cd "${srcdir}"/build/pt_BR + make DESTDIR="${pkgdir}" install +} + +package_calligra-l10n-ru() { + pkgdesc=('Russian Localization for Calligra') + replaces=('koffice-l10n-ru') + cd "${srcdir}"/build/ru + make DESTDIR="${pkgdir}" install +} + +package_calligra-l10n-sk() { + pkgdesc=('Slovak Localization for Calligra') + replaces=('koffice-l10n-sk') + cd "${srcdir}"/build/sk + make DESTDIR="${pkgdir}" install +} + +package_calligra-l10n-sv() { + pkgdesc=('Swedish Localization for Calligra') + replaces=('koffice-l10n-sv') + cd "${srcdir}"/build/sv + make DESTDIR="${pkgdir}" install +} + +package_calligra-l10n-uk() { + pkgdesc=('Ukrainian Localization for Calligra') + replaces=('koffice-l10n-uk') + cd "${srcdir}"/build/uk + make DESTDIR="${pkgdir}" install +} + +package_calligra-l10n-zh_cn() { + pkgdesc=('Simplified Chinese Localization for Calligra') + replaces=('koffice-l10n-zh_cn') + cd "${srcdir}"/build/zh_CN + make DESTDIR="${pkgdir}" install +} + +package_calligra-l10n-zh_tw() { + pkgdesc=('Traditional Chinese Localization for Calligra') + replaces=('koffice-l10n-zh_tw') + cd "${srcdir}"/build/zh_TW + make DESTDIR="${pkgdir}" install +}