Date: Wednesday, October 16, 2013 @ 17:22:35 Author: andrea Revision: 196677
archrelease: copy trunk to staging-any Added: calligra-l10n/repos/staging-any/ calligra-l10n/repos/staging-any/PKGBUILD (from rev 196676, calligra-l10n/trunk/PKGBUILD) ----------+ PKGBUILD | 312 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 312 insertions(+) Copied: calligra-l10n/repos/staging-any/PKGBUILD (from rev 196676, calligra-l10n/trunk/PKGBUILD) =================================================================== --- staging-any/PKGBUILD (rev 0) +++ staging-any/PKGBUILD 2013-10-16 15:22:35 UTC (rev 196677) @@ -0,0 +1,312 @@ +# $Id$ +# Maintainer: Andrea Scarpino <and...@archlinux.org> + +pkgbase=calligra-l10n +pkgname=('calligra-l10n-bs' + 'calligra-l10n-ca' + 'calligra-l10n-cs' + 'calligra-l10n-da' + 'calligra-l10n-de' + 'calligra-l10n-el' + 'calligra-l10n-es' + 'calligra-l10n-et' + 'calligra-l10n-fi' + 'calligra-l10n-fr' + 'calligra-l10n-gl' + 'calligra-l10n-hu' + 'calligra-l10n-it' + '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-sl' + 'calligra-l10n-sv' + 'calligra-l10n-tr' + 'calligra-l10n-uk' + 'calligra-l10n-zh_cn' + 'calligra-l10n-zh_tw') +pkgver=2.7.4 +pkgrel=1 +pkgdesc="Localization for Calligra" +arch=('any') +url='http://www.calligra-suite.org/' +license=('LGPL') +makedepends=('cmake' 'automoc4' 'kdelibs') +options=('docs') +source=("http://download.kde.org/stable/calligra-${pkgver}/${pkgbase}/${pkgbase}-bs-${pkgver}.tar.xz" + "http://download.kde.org/stable/calligra-${pkgver}/${pkgbase}/${pkgbase}-ca-${pkgver}.tar.xz" + "http://download.kde.org/stable/calligra-${pkgver}/${pkgbase}/${pkgbase}-cs-${pkgver}.tar.xz" + "http://download.kde.org/stable/calligra-${pkgver}/${pkgbase}/${pkgbase}-da-${pkgver}.tar.xz" + "http://download.kde.org/stable/calligra-${pkgver}/${pkgbase}/${pkgbase}-de-${pkgver}.tar.xz" + "http://download.kde.org/stable/calligra-${pkgver}/${pkgbase}/${pkgbase}-el-${pkgver}.tar.xz" + "http://download.kde.org/stable/calligra-${pkgver}/${pkgbase}/${pkgbase}-es-${pkgver}.tar.xz" + "http://download.kde.org/stable/calligra-${pkgver}/${pkgbase}/${pkgbase}-et-${pkgver}.tar.xz" + "http://download.kde.org/stable/calligra-${pkgver}/${pkgbase}/${pkgbase}-fi-${pkgver}.tar.xz" + "http://download.kde.org/stable/calligra-${pkgver}/${pkgbase}/${pkgbase}-fr-${pkgver}.tar.xz" + "http://download.kde.org/stable/calligra-${pkgver}/${pkgbase}/${pkgbase}-gl-${pkgver}.tar.xz" + "http://download.kde.org/stable/calligra-${pkgver}/${pkgbase}/${pkgbase}-hu-${pkgver}.tar.xz" + "http://download.kde.org/stable/calligra-${pkgver}/${pkgbase}/${pkgbase}-it-${pkgver}.tar.xz" + "http://download.kde.org/stable/calligra-${pkgver}/${pkgbase}/${pkgbase}-kk-${pkgver}.tar.xz" + "http://download.kde.org/stable/calligra-${pkgver}/${pkgbase}/${pkgbase}-nb-${pkgver}.tar.xz" + "http://download.kde.org/stable/calligra-${pkgver}/${pkgbase}/${pkgbase}-nds-${pkgver}.tar.xz" + "http://download.kde.org/stable/calligra-${pkgver}/${pkgbase}/${pkgbase}-nl-${pkgver}.tar.xz" + "http://download.kde.org/stable/calligra-${pkgver}/${pkgbase}/${pkgbase}-pl-${pkgver}.tar.xz" + "http://download.kde.org/stable/calligra-${pkgver}/${pkgbase}/${pkgbase}-pt-${pkgver}.tar.xz" + "http://download.kde.org/stable/calligra-${pkgver}/${pkgbase}/${pkgbase}-pt_BR-${pkgver}.tar.xz" + "http://download.kde.org/stable/calligra-${pkgver}/${pkgbase}/${pkgbase}-ru-${pkgver}.tar.xz" + "http://download.kde.org/stable/calligra-${pkgver}/${pkgbase}/${pkgbase}-sk-${pkgver}.tar.xz" + "http://download.kde.org/stable/calligra-${pkgver}/${pkgbase}/${pkgbase}-sl-${pkgver}.tar.xz" + "http://download.kde.org/stable/calligra-${pkgver}/${pkgbase}/${pkgbase}-sv-${pkgver}.tar.xz" + "http://download.kde.org/stable/calligra-${pkgver}/${pkgbase}/${pkgbase}-tr-${pkgver}.tar.xz" + "http://download.kde.org/stable/calligra-${pkgver}/${pkgbase}/${pkgbase}-uk-${pkgver}.tar.xz" + "http://download.kde.org/stable/calligra-${pkgver}/${pkgbase}/${pkgbase}-zh_CN-${pkgver}.tar.xz" + "http://download.kde.org/stable/calligra-${pkgver}/${pkgbase}/${pkgbase}-zh_TW-${pkgver}.tar.xz") +md5sums=('bd16bf4aeeab9532b0268977b834eca0' + '641eb7346069343bc36452df75905340' + '82df293e8df73d60647f61babf05e726' + 'e181d8fa4057cff28932ad703c7f0523' + '5b44bdd14de0739b1d608a93b9a042b5' + 'c2e593b5a2ce96d6f422d9216637413e' + 'e3c208c5b9c53b02c30232d9833d4484' + '318b3b88068b4292ac597ad3b92702c2' + 'adb28b523ef842888a0d9519b8466728' + '02143b0403735d2e064cdc5ef13dfb87' + 'e385c805d2ee3a8351917deff88ac628' + '2478610dd599d0170801deb6a4f66330' + '63a9b0324c469ebbe38a14e985b49069' + 'a480e07b0b8757df7166eb2475ce85cc' + '1ea245a8f939b3ccf193c60f3f31a023' + 'becb1c2524cfcab00b281fc6b40bdef1' + '96fc7e62519cfec204e2e908b9d198bb' + '039485a30828c06c6389cd76ba324562' + '9b485fffefe87480136af41a17cc0b98' + '6712ee79c214a7506267685e34a2f0d9' + '399fea315ca4c84a2885eb39399d1296' + '7773f778f5d9f481ab231d305efa2934' + '0a132e5361fb2c25b29b370f8ae9e2cb' + 'f27be65cc1c32bcb8e0824fa224e86ff' + '35f6b7206535260d5bbb9b86d71db810' + '813bd1b06a1da5e735e3d741eacce27a' + '98f19fb4a06201365310b2e42c77e913' + '5c346db18fe5896e7063cd0e8bce8cec') + +build() { + for lang in bs ca cs da de el es et fi fr gl hu it kk nb nds \ + nl pl pt pt_BR ru sk sl sv tr 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-bs() { + pkgdesc=('Bosnian Localization for Calligra') + replaces=('koffice-l10n-bs') + cd "${srcdir}"/build/bs + make DESTDIR="${pkgdir}" install +} + +package_calligra-l10n-ca() { + pkgdesc=('Catalan Localization for Calligra') + replaces=('koffice-l10n-ca') + cd "${srcdir}"/build/ca + make DESTDIR="${pkgdir}" install +} + +package_calligra-l10n-cs() { + pkgdesc=('Czech Localization for Calligra') + replaces=('koffice-l10n-cs') + cd "${srcdir}"/build/cs + 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-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-sl() { + pkgdesc=('Slovenian Localization for Calligra') + replaces=('koffice-l10n-sl') + cd "${srcdir}"/build/sl + 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-tr() { + pkgdesc=('Turkish Localization for Calligra') + replaces=('koffice-l10n-tr') + cd "${srcdir}"/build/tr + 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 +}