2011-11-21 07:52:25 +08:00
|
|
|
#
|
|
|
|
# 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'
|
2011-12-10 08:48:05 +08:00
|
|
|
'calligra-l10n-cs'
|
2011-11-21 07:52:25 +08:00
|
|
|
'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'
|
2012-03-06 05:31:45 +08:00
|
|
|
#'calligra-l10n-nb'
|
2011-11-21 07:52:25 +08:00
|
|
|
'calligra-l10n-nds'
|
|
|
|
'calligra-l10n-nl'
|
|
|
|
'calligra-l10n-pl'
|
|
|
|
'calligra-l10n-pt'
|
|
|
|
'calligra-l10n-pt_BR'
|
|
|
|
'calligra-l10n-ru'
|
2012-03-06 05:31:45 +08:00
|
|
|
'calligra-l10n-sk'
|
2011-11-21 07:52:25 +08:00
|
|
|
'calligra-l10n-sv'
|
|
|
|
# 'calligra-l10n-tr'
|
|
|
|
'calligra-l10n-uk'
|
2011-12-10 08:48:05 +08:00
|
|
|
'calligra-l10n-zh_CN'
|
2011-11-21 07:52:25 +08:00
|
|
|
'calligra-l10n-zh_TW')
|
2012-03-06 05:31:45 +08:00
|
|
|
pkgver=2.3.91
|
2011-12-10 06:36:49 +08:00
|
|
|
pkgrel=1
|
2011-11-21 07:52:25 +08:00
|
|
|
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
|
2012-03-06 05:31:45 +08:00
|
|
|
#ftp://ftp.kde.org/pub/kde/unstable/calligra-${pkgver}/calligra-l10n/calligra-l10n-nb-${pkgver}.tar.bz2
|
2011-11-21 07:52:25 +08:00
|
|
|
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
|
2012-03-06 05:31:45 +08:00
|
|
|
ftp://ftp.kde.org/pub/kde/unstable/calligra-${pkgver}/calligra-l10n/calligra-l10n-sk-${pkgver}.tar.bz2
|
2011-11-21 07:52:25 +08:00
|
|
|
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
|
2012-02-02 10:44:26 +08:00
|
|
|
ftp://ftp.kde.org/pub/kde/unstable/calligra-${pkgver}/calligra-l10n/calligra-l10n-zh_CN-${pkgver}.tar.bz2
|
|
|
|
ftp://ftp.kde.org/pub/kde/unstable/calligra-${pkgver}/calligra-l10n/calligra-l10n-zh_TW-${pkgver}.tar.bz2)
|
2012-03-06 05:31:45 +08:00
|
|
|
md5sums=('e36a435657676de7e4595da800fec3e2' #calligra-l10n/calligra-l10n-ca-2.3.91.tar.bz2
|
|
|
|
'50df6691ae50254aaa96ecce597b353b' #calligra-l10n/calligra-l10n-ca@valencia-2.3.91.tar.bz2
|
|
|
|
'cf85deb6ea105c107e513efcb692ecbe' #calligra-l10n/calligra-l10n-cs-2.3.91.tar.bz2
|
|
|
|
'70c3c8ac3b63b3e373e3228340e859a7' #calligra-l10n/calligra-l10n-da-2.3.91.tar.bz2
|
|
|
|
'e7493401ebd8335d701e09be0aee97ec' #calligra-l10n/calligra-l10n-de-2.3.91.tar.bz2
|
|
|
|
'84d67e684abbadea8e8e0704ad34a36c' #calligra-l10n/calligra-l10n-el-2.3.91.tar.bz2
|
|
|
|
'f45a2d7e8f6d4136e194c9aa5678f3e3' #calligra-l10n/calligra-l10n-en_GB-2.3.91.tar.bz2
|
|
|
|
'b181ebeff0122907ae107e696fdae06b' #calligra-l10n/calligra-l10n-es-2.3.91.tar.bz2
|
|
|
|
'495fdaa9e29e80aeb9dcd6df17ce5ef3' #calligra-l10n/calligra-l10n-et-2.3.91.tar.bz2
|
|
|
|
'a2eddf06484a1574cb2df173d0cbc188' #calligra-l10n/calligra-l10n-fr-2.3.91.tar.bz2
|
|
|
|
'9b3cfaabf3fb2252f09f31f712e2540e' #calligra-l10n/calligra-l10n-it-2.3.91.tar.bz2
|
|
|
|
'fab23b2a911fd4745246e5fa03e7fc29' #calligra-l10n/calligra-l10n-kk-2.3.91.tar.bz2
|
|
|
|
'965224d7fdaeb06b1f8439ea34b3ba36' #calligra-l10n/calligra-l10n-nds-2.3.91.tar.bz2
|
|
|
|
'24d5749f3ec4336e83a9439d434e7d9a' #calligra-l10n/calligra-l10n-nl-2.3.91.tar.bz2
|
|
|
|
'af3ec0573d9c9e13a99adb2060d975c2' #calligra-l10n/calligra-l10n-pl-2.3.91.tar.bz2
|
|
|
|
'6ac3693fb0e428a9ac1e2c79839e47c6' #calligra-l10n/calligra-l10n-pt-2.3.91.tar.bz2
|
|
|
|
'90e06151b0670e4d0be72a5aa23e7d0b' #calligra-l10n/calligra-l10n-pt_BR-2.3.91.tar.bz2
|
|
|
|
'5a1f1388f92d30a2b1137b58c2e05856' #calligra-l10n/calligra-l10n-ru-2.3.91.tar.bz2
|
|
|
|
'40d30f12b737d9ef907a294e3a573972' #calligra-l10n/calligra-l10n-sk-2.3.91.tar.bz2
|
|
|
|
'0be0e1582726f9cb37cc114530784c47' #calligra-l10n/calligra-l10n-sv-2.3.91.tar.bz2
|
|
|
|
'4c23779580cd12df6a3ff4dd716391db' #calligra-l10n/calligra-l10n-uk-2.3.91.tar.bz2
|
|
|
|
'c2075d3d64596007f6dcaf876ef5f8b3' #calligra-l10n/calligra-l10n-zh_CN-2.3.91.tar.bz2
|
|
|
|
'b0029475983fa43f8aa419ebc0f7f537') #calligra-l10n/calligra-l10n-zh_TW-2.3.91.tar.bz2
|
2011-11-21 07:52:25 +08:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $srcdir
|
2012-03-06 05:31:45 +08:00
|
|
|
langs="ca ca@valencia cs da de el en_GB es et fr it kk nds nl pl pt pt_BR ru sk sv uk zh_CN zh_TW"
|
2011-12-10 08:48:05 +08:00
|
|
|
for lang in $langs; do
|
|
|
|
install -d build/${lang}
|
|
|
|
pushd build/${lang}
|
|
|
|
cmake ${srcdir}/calligra-l10n-${lang}-${pkgver} \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
|
|
make
|
|
|
|
popd
|
|
|
|
done
|
2011-11-21 07:52:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package_calligra-l10n-ca() {
|
|
|
|
pkgdesc=('Catalan Localization for calligra')
|
2012-03-06 07:57:58 +08:00
|
|
|
categories=('localization')
|
2011-11-21 07:52:25 +08:00
|
|
|
cd $srcdir/build/ca
|
|
|
|
make DESTDIR=$pkgdir install
|
|
|
|
}
|
|
|
|
|
|
|
|
package_calligra-l10n-ca@valencia() {
|
|
|
|
pkgdesc=('Catalan (Valencian) Localization for calligra')
|
2012-03-06 07:57:58 +08:00
|
|
|
categories=('localization')
|
2011-11-21 07:52:25 +08:00
|
|
|
cd $srcdir/build/ca@valencia
|
|
|
|
make DESTDIR=$pkgdir install
|
|
|
|
}
|
|
|
|
|
2011-12-10 08:48:05 +08:00
|
|
|
package_calligra-l10n-cs() {
|
|
|
|
pkgdesc=('Czech Localization for calligra')
|
2012-03-06 07:57:58 +08:00
|
|
|
categories=('localization')
|
2011-12-10 08:48:05 +08:00
|
|
|
cd $srcdir/build/cs
|
|
|
|
make DESTDIR=$pkgdir install
|
|
|
|
}
|
|
|
|
|
2011-11-21 07:52:25 +08:00
|
|
|
package_calligra-l10n-da() {
|
|
|
|
pkgdesc=('Danish Localization for calligra')
|
2012-03-06 07:57:58 +08:00
|
|
|
categories=('localization')
|
2011-11-21 07:52:25 +08:00
|
|
|
cd $srcdir/build/da
|
|
|
|
make DESTDIR=$pkgdir install
|
|
|
|
}
|
|
|
|
package_calligra-l10n-de() {
|
|
|
|
pkgdesc=('German Localization for calligra')
|
2012-03-06 07:57:58 +08:00
|
|
|
categories=('localization')
|
2011-11-21 07:52:25 +08:00
|
|
|
cd $srcdir/build/de
|
|
|
|
make DESTDIR=$pkgdir install
|
|
|
|
}
|
|
|
|
package_calligra-l10n-el() {
|
|
|
|
pkgdesc=('Greek Localization for calligra')
|
2012-03-06 07:57:58 +08:00
|
|
|
categories=('localization')
|
2011-11-21 07:52:25 +08:00
|
|
|
cd $srcdir/build/el
|
|
|
|
make DESTDIR=$pkgdir install
|
|
|
|
}
|
|
|
|
package_calligra-l10n-en_GB() {
|
|
|
|
pkgdesc=('British Localization for calligra')
|
2012-03-06 07:57:58 +08:00
|
|
|
categories=('localization')
|
2011-11-21 07:52:25 +08:00
|
|
|
cd $srcdir/build/en_GB
|
|
|
|
make DESTDIR=$pkgdir install
|
|
|
|
}
|
|
|
|
package_calligra-l10n-es() {
|
|
|
|
pkgdesc=('Spanish Localization for calligra')
|
2012-03-06 07:57:58 +08:00
|
|
|
categories=('localization')
|
2011-11-21 07:52:25 +08:00
|
|
|
cd $srcdir/build/es
|
|
|
|
make DESTDIR=$pkgdir install
|
|
|
|
}
|
|
|
|
package_calligra-l10n-et() {
|
|
|
|
pkgdesc=('Estonian Localization for calligra')
|
2012-03-06 07:57:58 +08:00
|
|
|
categories=('localization')
|
2011-11-21 07:52:25 +08:00
|
|
|
cd $srcdir/build/et
|
|
|
|
make DESTDIR=$pkgdir install
|
|
|
|
}
|
|
|
|
package_calligra-l10n-fr() {
|
|
|
|
pkgdesc=('French Localization for calligra')
|
2012-03-06 07:57:58 +08:00
|
|
|
categories=('localization')
|
2011-11-21 07:52:25 +08:00
|
|
|
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')
|
2012-03-06 07:57:58 +08:00
|
|
|
categories=('localization')
|
2011-11-21 07:52:25 +08:00
|
|
|
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')
|
2012-03-06 07:57:58 +08:00
|
|
|
categories=('localization')
|
2011-11-21 07:52:25 +08:00
|
|
|
cd $srcdir/build/kk
|
|
|
|
make DESTDIR=$pkgdir install
|
|
|
|
}
|
2012-03-06 05:31:45 +08:00
|
|
|
#package_calligra-l10n-nb() {
|
|
|
|
# pkgdesc=('Norwegian Bookmal Localization for calligra')
|
|
|
|
# cd $srcdir/build/nb
|
|
|
|
# make DESTDIR=$pkgdir install
|
|
|
|
#}
|
2011-11-21 07:52:25 +08:00
|
|
|
package_calligra-l10n-nds() {
|
|
|
|
pkgdesc=('Low Saxon Localization for calligra')
|
2012-03-06 07:57:58 +08:00
|
|
|
categories=('localization')
|
2011-11-21 07:52:25 +08:00
|
|
|
cd $srcdir/build/nds
|
|
|
|
make DESTDIR=$pkgdir install
|
|
|
|
}
|
|
|
|
package_calligra-l10n-nl() {
|
|
|
|
pkgdesc=('Dutch Localization for calligra')
|
2012-03-06 07:57:58 +08:00
|
|
|
categories=('localization')
|
2011-11-21 07:52:25 +08:00
|
|
|
cd $srcdir/build/nl
|
|
|
|
make DESTDIR=$pkgdir install
|
|
|
|
}
|
|
|
|
package_calligra-l10n-pl() {
|
|
|
|
pkgdesc=('Polish Localization for calligra')
|
2012-03-06 07:57:58 +08:00
|
|
|
categories=('localization')
|
2011-11-21 07:52:25 +08:00
|
|
|
cd $srcdir/build/pl
|
|
|
|
make DESTDIR=$pkgdir install
|
|
|
|
}
|
|
|
|
package_calligra-l10n-pt() {
|
|
|
|
pkgdesc=('Portugese Localization for calligra')
|
2012-03-06 07:57:58 +08:00
|
|
|
categories=('localization')
|
2011-11-21 07:52:25 +08:00
|
|
|
cd $srcdir/build/pt
|
|
|
|
make DESTDIR=$pkgdir install
|
|
|
|
}
|
|
|
|
package_calligra-l10n-pt_BR() {
|
|
|
|
pkgdesc=('Brazilian Portugese Localization for calligra')
|
2012-03-06 07:57:58 +08:00
|
|
|
categories=('localization')
|
2011-11-21 07:52:25 +08:00
|
|
|
cd $srcdir/build/pt_BR
|
|
|
|
make DESTDIR=$pkgdir install
|
|
|
|
}
|
|
|
|
package_calligra-l10n-ru() {
|
|
|
|
pkgdesc=('Russian Localization for calligra')
|
2012-03-06 07:57:58 +08:00
|
|
|
categories=('localization')
|
2011-11-21 07:52:25 +08:00
|
|
|
cd $srcdir/build/ru
|
|
|
|
make DESTDIR=$pkgdir install
|
|
|
|
}
|
2012-03-06 05:31:45 +08:00
|
|
|
package_calligra-l10n-sk() {
|
|
|
|
pkgdesc=('Slovak Localization for calligra')
|
2012-03-06 07:57:58 +08:00
|
|
|
categories=('localization')
|
2012-03-06 05:31:45 +08:00
|
|
|
cd $srcdir/build/sk
|
|
|
|
make DESTDIR=$pkgdir install
|
|
|
|
}
|
2011-11-21 07:52:25 +08:00
|
|
|
package_calligra-l10n-sv() {
|
|
|
|
pkgdesc=('Swedish Localization for calligra')
|
2012-03-06 07:57:58 +08:00
|
|
|
categories=('localization')
|
2011-11-21 07:52:25 +08:00
|
|
|
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')
|
2012-03-06 07:57:58 +08:00
|
|
|
categories=('localization')
|
2011-11-21 07:52:25 +08:00
|
|
|
cd $srcdir/build/uk
|
|
|
|
make DESTDIR=$pkgdir install
|
|
|
|
}
|
2011-12-10 08:48:05 +08:00
|
|
|
package_calligra-l10n-zh_CN() {
|
|
|
|
pkgdesc=('Simplified Chinese Localization for calligra')
|
2012-03-06 07:57:58 +08:00
|
|
|
categories=('localization')
|
2011-12-10 08:48:05 +08:00
|
|
|
cd $srcdir/build/zh_CN
|
|
|
|
make DESTDIR=$pkgdir install
|
|
|
|
}
|
2011-11-21 07:52:25 +08:00
|
|
|
package_calligra-l10n-zh_TW() {
|
|
|
|
pkgdesc=('Traditional Chinese Localization for calligra')
|
2012-03-06 07:57:58 +08:00
|
|
|
categories=('localization')
|
2011-11-21 07:52:25 +08:00
|
|
|
cd $srcdir/build/zh_TW
|
|
|
|
make DESTDIR=$pkgdir install
|
|
|
|
}
|