calligra-l10n: 2.7.3

This commit is contained in:
Michael 2013-10-15 16:40:39 +00:00
parent 87696594c0
commit d70fab62ee
2 changed files with 159 additions and 182 deletions

View File

@ -6,300 +6,297 @@
pkgbase=calligra-l10n
pkgname=('calligra-l10n-bs'
'calligra-l10n-ca'
'calligra-l10n-ca@valencia'
'calligra-l10n-cs'
'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-ca@valencia'
'calligra-l10n-cs'
'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-sl'
'calligra-l10n-sv'
'calligra-l10n-tr'
'calligra-l10n-uk'
'calligra-l10n-zh_CN'
'calligra-l10n-zh_TW')
pkgver=2.7.1
'calligra-l10n-sv'
'calligra-l10n-tr'
'calligra-l10n-uk'
'calligra-l10n-zh_CN'
'calligra-l10n-zh_TW')
pkgver=2.7.3
pkgrel=1
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/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-bs-${pkgver}.tar.xz
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-ca-${pkgver}.tar.xz
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-ca@valencia-${pkgver}.tar.xz
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-cs-${pkgver}.tar.xz
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-da-${pkgver}.tar.xz
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-de-${pkgver}.tar.xz
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-el-${pkgver}.tar.xz
#ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-en_GB-${pkgver}.tar.xz
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-es-${pkgver}.tar.xz
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-et-${pkgver}.tar.xz
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-fi-${pkgver}.tar.xz
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-fr-${pkgver}.tar.xz
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-gl-${pkgver}.tar.xz
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-hu-${pkgver}.tar.xz
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-it-${pkgver}.tar.xz
#ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-ja-${pkgver}.tar.xz
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-kk-${pkgver}.tar.xz
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-nb-${pkgver}.tar.xz
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-nds-${pkgver}.tar.xz
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-nl-${pkgver}.tar.xz
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-pl-${pkgver}.tar.xz
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-pt-${pkgver}.tar.xz
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-pt_BR-${pkgver}.tar.xz
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-ru-${pkgver}.tar.xz
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-sk-${pkgver}.tar.xz
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-sl-${pkgver}.tar.xz
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-sv-${pkgver}.tar.xz
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-tr-${pkgver}.tar.xz
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-uk-${pkgver}.tar.xz
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-zh_CN-${pkgver}.tar.xz
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-zh_TW-${pkgver}.tar.xz)
md5sums=(
'329bace77407d2aa4260e72625bb05f3'
'fd08f80d572b7aad30e27e460986bcbe'
'7bdc5b166a0609194b1d48ed413d3df0'
'9fb58bb6e88911f7b5b78f56dbf0ab90'
'40b09095a141b2a2b796729b9b69cd86'
'ea603dd4b7d907aad698fde4b86d8548'
'390a9f0551b4f666435020b7f9fa5d97'
'53dac459d7b5009756235f01152c7c90'
'f57f226915d0d63b742f8fd675be5743'
'59a5a7e38c25408db8535634ef6bd8b4'
'efc3833d62dee2aa60ebc98dafeab2e2'
'e4499cf8bf66f7e1b6940ba05db6f3b4'
'd5425ba2a2608171f15216b0ad195141'
'd99495dca290aeb2c8ba32dcbf8020b7'
'bc1efa2ca0c79b0cde69cdc7d564a195'
'0f0357c2a3ca6b1ca776d5af7413ab59'
'0c4a812b4dde531b3756529526ec3011'
'b946f2342eae0fc230210e5e2996838b'
'd9525bc2bf4a50dcc931ecfaee212c17'
'6ebeaf278ec07b0271fbbe85d9a51146'
'38f42619c9da5be4adcc95249dc3bf23'
'de96d3a0f574f13d3e9ae591058c79cb'
'06e3f446884285c6709a0d9909fcfc3e'
'666b762a9f65153cee5aaff4299bc3b2'
'd27384b167790c3ec4e35473d69b96b1'
'a44310f6b7bef020a7383ae36da1bb49'
'adbb251c373a507fa83bafe200c2937a'
'876081f523b7345ce60808345e6e619b'
'2acc0dae80a2bf5404ffa6e040afebdc')
source=("ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-bs-${pkgver}.tar.xz"
"ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-ca-${pkgver}.tar.xz"
#"ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-ca@valencia-${pkgver}.tar.xz"
"ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-cs-${pkgver}.tar.xz"
"ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-da-${pkgver}.tar.xz"
"ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-de-${pkgver}.tar.xz"
"ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-el-${pkgver}.tar.xz"
#"ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-en_GB-${pkgver}.tar.xz"
"ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-es-${pkgver}.tar.xz"
"ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-et-${pkgver}.tar.xz"
"ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-fi-${pkgver}.tar.xz"
"ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-fr-${pkgver}.tar.xz"
"ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-gl-${pkgver}.tar.xz"
"ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-hu-${pkgver}.tar.xz"
"ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-it-${pkgver}.tar.xz"
#"ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-ja-${pkgver}.tar.xz"
"ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-kk-${pkgver}.tar.xz"
"ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-nb-${pkgver}.tar.xz"
"ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-nds-${pkgver}.tar.xz"
"ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-nl-${pkgver}.tar.xz"
"ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-pl-${pkgver}.tar.xz"
"ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-pt-${pkgver}.tar.xz"
"ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-pt_BR-${pkgver}.tar.xz"
"ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-ru-${pkgver}.tar.xz"
"ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-sk-${pkgver}.tar.xz"
"ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-sl-${pkgver}.tar.xz"
"ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-sv-${pkgver}.tar.xz"
"ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-tr-${pkgver}.tar.xz"
"ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-uk-${pkgver}.tar.xz"
"ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-zh_CN-${pkgver}.tar.xz"
"ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-zh_TW-${pkgver}.tar.xz")
sha256sums=('5f19c029ba2fb02bb006db6919cded3e13d09b9d7af6c0ba592f115941f35e1c'
'5bfd2e1c628df9b1c24683365ca4c2292da97bc6c326f0d4b3d970b9467a0a45'
'85d205c4e6dcc900e07840bbf28f01f02b81b640a51c3fc6b82f5496bf0b0324'
'd0f97d5d1d7f7e78f2d8782a91a15c9738be6171b93ef106b1bf008f878deacc'
'ad0128d4501e93af03909025b5c70e9b9eddaa1f74ea29aff2434b9a0b7c8c82'
'42fb2e4ae67f17db5322366553caabaee40ecfadfbd63a0d261eb66a98bab120'
'00ec7db6864f41ec38a8784d77de53b053ff81a3d548f80f44d708792ffa8eee'
'9ac235a4195481d916a25fe1a0fb9d32b5b597e9122e9041ec5eada3a3d22cf2'
'6efe2bfbf834026eb55d43ed1a3b4f09250c6fe124f2d04eebca92864a5e5167'
'502ea62fd8e9e015b6597a6768a09d967e573edcdb26368f4d459a13e04a3f70'
'fd518b8c62d8076daeeb3faf5e683553aceb74524d04bb90f9d77c74fe49fc18'
'b9ab0e2d05996ec6d15174842db63478aeb4f02d7d1951903d9b0472fd7ac842'
'804d831159fb72dc6b77a87b7233d0d3bd2e5e4e472904481477a4546935d1c0'
'1de867b9df32e1e61626598537adb46770ab4a5b69abcb6b8cd3a3d60a0fe0d0'
'60d2b890396ad62d7375e18dc753c6e04a06706ea6d81188544d2141e1c4215d'
'44f1723bd25a32d291c8414e088d370cdef1c9c1424143930211f325d793389d'
'5e32979c3956ae4fffa8cf663058dfe01130fb58102462dddc94cdaddd72153c'
'd4d60c8e464dc79ec9a8b2ddebfed614ee3b4d2708ee5541c0415ab151041944'
'7459ef7cd25ace9e4b05587987aa3b7573082bd877a5cf690560eef444880903'
'26614fa32bd80b36db1d504db4e50cbe884865946254d635d38ab2779b7103fd'
'768934316e42ae18e355fde4a07b77ad6ef0137dedf4d4fffea3945c97669b47'
'a12726ec082f1ed6b1014d694db8b08a2b813f89f2769dd2b06d4bf76bf8d830'
'9c550fdb20863c64208f08c39b1724abc4e05f60147de80485aa83e1870a51cf'
'0c3179b0afb24e70f459d76b7e1f6552ae428fc0d098a4e5710edcdd3bfc3a40'
'326d1b0ce655e93f0f2ea71ceea882c056845d09685f98f52785164a2c3a655e'
'510f2ac758a523a46ed3bd76e587391b3daa444060c319a9f0b1d5a3048d913c'
'7e94663820cdd7e37a1ee0b43664034ba3e14cfeed0c34f07b80c813585f3d91'
'41ee257c5233f36d1ee220ddd2f2cae0f2b3f73f3ea89d484cb81ace854f9f4f')
build() {
cd $srcdir
langs="bs ca ca@valencia 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"
langs="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"
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
cmake "${srcdir}/calligra-l10n-${lang}-${pkgver}" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
popd
done
}
package_calligra-l10n-bs() {
pkgdesc=('Bosnian Localization for calligra')
categories=('localization')
cd $srcdir/build/bs
make DESTDIR=$pkgdir install
pkgdesc=('Bosnian Localization for calligra')
categories=('localization')
cd build/bs
make DESTDIR="${pkgdir}" install
}
package_calligra-l10n-ca() {
pkgdesc=('Catalan Localization for calligra')
categories=('localization')
cd $srcdir/build/ca
make DESTDIR=$pkgdir install
cd build/ca
make DESTDIR="${pkgdir}" install
}
package_calligra-l10n-ca@valencia() {
pkgdesc=('Catalan (Valencian) Localization for calligra')
categories=('localization')
cd $srcdir/build/ca@valencia
make DESTDIR=$pkgdir install
}
#package_calligra-l10n-ca@valencia() {
# pkgdesc=('Catalan (Valencian) Localization for calligra')
# categories=('localization')
# cd build/ca@valencia
# make DESTDIR="${pkgdir}" install
#}
package_calligra-l10n-cs() {
pkgdesc=('Czech Localization for calligra')
categories=('localization')
cd $srcdir/build/cs
make DESTDIR=$pkgdir install
cd build/cs
make DESTDIR="${pkgdir}" install
}
package_calligra-l10n-da() {
pkgdesc=('Danish Localization for calligra')
categories=('localization')
cd $srcdir/build/da
make DESTDIR=$pkgdir install
cd build/da
make DESTDIR="${pkgdir}" install
}
package_calligra-l10n-de() {
pkgdesc=('German Localization for calligra')
categories=('localization')
cd $srcdir/build/de
make DESTDIR=$pkgdir install
cd build/de
make DESTDIR="${pkgdir}" install
}
package_calligra-l10n-el() {
pkgdesc=('Greek Localization for calligra')
categories=('localization')
cd $srcdir/build/el
make DESTDIR=$pkgdir install
cd build/el
make DESTDIR="${pkgdir}" install
}
package_calligra-l10n-en_GB() {
pkgdesc=('British Localization for calligra')
categories=('localization')
cd $srcdir/build/en_GB
make DESTDIR=$pkgdir install
cd build/en_GB
make DESTDIR="${pkgdir}" install
}
package_calligra-l10n-es() {
pkgdesc=('Spanish Localization for calligra')
categories=('localization')
cd $srcdir/build/es
make DESTDIR=$pkgdir install
cd build/es
make DESTDIR="${pkgdir}" install
}
package_calligra-l10n-et() {
pkgdesc=('Estonian Localization for calligra')
categories=('localization')
cd $srcdir/build/et
make DESTDIR=$pkgdir install
cd build/et
make DESTDIR="${pkgdir}" install
}
package_calligra-l10n-fi() {
pkgdesc=('Finnish Localization for calligra')
categories=('localization')
cd $srcdir/build/fi
make DESTDIR=$pkgdir install
cd build/fi
make DESTDIR="${pkgdir}" install
}
package_calligra-l10n-fr() {
pkgdesc=('French Localization for calligra')
categories=('localization')
cd $srcdir/build/fr
make DESTDIR=$pkgdir install
cd build/fr
make DESTDIR="${pkgdir}" install
}
package_calligra-l10n-gl() {
pkgdesc=('Galician Localization for calligra')
cd $srcdir/build/gl
make DESTDIR=$pkgdir install
cd build/gl
make DESTDIR="${pkgdir}" install
}
package_calligra-l10n-hu() {
pkgdesc=('Hungarian Localization for calligra')
cd $srcdir/build/hu
make DESTDIR=$pkgdir install
cd build/hu
make DESTDIR="${pkgdir}" install
}
package_calligra-l10n-it() {
pkgdesc=('Italian Localization for calligra')
categories=('localization')
cd $srcdir/build/it
make DESTDIR=$pkgdir install
cd build/it
make DESTDIR="${pkgdir}" install
}
package_calligra-l10n-ja() {
pkgdesc=('Japanese Localization for calligra')
cd $srcdir/build/ja
make DESTDIR=$pkgdir install
cd build/ja
make DESTDIR="${pkgdir}" install
}
package_calligra-l10n-kk() {
pkgdesc=('Kazakh Localization for calligra')
categories=('localization')
cd $srcdir/build/kk
make DESTDIR=$pkgdir install
cd build/kk
make DESTDIR="${pkgdir}" install
}
package_calligra-l10n-nb() {
pkgdesc=('Norwegian Bookmal Localization for calligra')
cd $srcdir/build/nb
make DESTDIR=$pkgdir install
cd build/nb
make DESTDIR="${pkgdir}" install
}
package_calligra-l10n-nds() {
pkgdesc=('Low Saxon Localization for calligra')
categories=('localization')
cd $srcdir/build/nds
make DESTDIR=$pkgdir install
cd build/nds
make DESTDIR="${pkgdir}" install
}
package_calligra-l10n-nl() {
pkgdesc=('Dutch Localization for calligra')
categories=('localization')
cd $srcdir/build/nl
make DESTDIR=$pkgdir install
cd build/nl
make DESTDIR="${pkgdir}" install
}
package_calligra-l10n-pl() {
pkgdesc=('Polish Localization for calligra')
categories=('localization')
cd $srcdir/build/pl
make DESTDIR=$pkgdir install
cd build/pl
make DESTDIR="${pkgdir}" install
}
package_calligra-l10n-pt() {
pkgdesc=('Portugese Localization for calligra')
categories=('localization')
cd $srcdir/build/pt
make DESTDIR=$pkgdir install
cd build/pt
make DESTDIR="${pkgdir}" install
}
package_calligra-l10n-pt_BR() {
pkgdesc=('Brazilian Portugese Localization for calligra')
categories=('localization')
cd $srcdir/build/pt_BR
make DESTDIR=$pkgdir install
cd build/pt_BR
make DESTDIR="${pkgdir}" install
}
package_calligra-l10n-ru() {
pkgdesc=('Russian Localization for calligra')
categories=('localization')
cd $srcdir/build/ru
make DESTDIR=$pkgdir install
cd build/ru
make DESTDIR="${pkgdir}" install
}
package_calligra-l10n-sk() {
pkgdesc=('Slovak Localization for calligra')
categories=('localization')
cd $srcdir/build/sk
make DESTDIR=$pkgdir install
cd build/sk
make DESTDIR="${pkgdir}" install
}
package_calligra-l10n-sl() {
pkgdesc=('Slovenian Localization for calligra')
categories=('localization')
cd $srcdir/build/sl
make DESTDIR=$pkgdir install
cd build/sl
make DESTDIR="${pkgdir}" install
}
package_calligra-l10n-sv() {
pkgdesc=('Swedish Localization for calligra')
categories=('localization')
cd $srcdir/build/sv
make DESTDIR=$pkgdir install
cd build/sv
make DESTDIR="${pkgdir}" install
}
package_calligra-l10n-tr() {
pkgdesc=('Turkish Localization for calligra')
cd $srcdir/build/tr
make DESTDIR=$pkgdir install
cd build/tr
make DESTDIR="${pkgdir}" install
}
package_calligra-l10n-uk() {
pkgdesc=('Ukrainian Localization for calligra')
categories=('localization')
cd $srcdir/build/uk
make DESTDIR=$pkgdir install
cd build/uk
make DESTDIR="${pkgdir}" install
}
package_calligra-l10n-zh_CN() {
pkgdesc=('Simplified Chinese Localization for calligra')
categories=('localization')
cd $srcdir/build/zh_CN
make DESTDIR=$pkgdir install
cd build/zh_CN
make DESTDIR="${pkgdir}" install
}
package_calligra-l10n-zh_TW() {
pkgdesc=('Traditional Chinese Localization for calligra')
categories=('localization')
cd $srcdir/build/zh_TW
make DESTDIR=$pkgdir install
cd build/zh_TW
make DESTDIR="${pkgdir}" install
}

View File

@ -1,20 +0,0 @@
Author: C. Boemann <cbo@boemann.dk>
Date: Mon Jul 29 11:45:49 2013 +0200
Fix crash
BUG: 319155
diff --git a/libs/textlayout/KoTextLayoutArea_paint.cpp b/libs/textlayout/KoTextLayoutArea_paint.cpp
index e94cc71..c633913 100644
--- a/libs/textlayout/KoTextLayoutArea_paint.cpp
+++ b/libs/textlayout/KoTextLayoutArea_paint.cpp
@@ -839,7 +839,7 @@ void KoTextLayoutArea::decorateParagraph(QPainter *painter, QTextBlock &block, b
QList<KoTextBlockData::MarkupRange>::Iterator markIt = blockData.markupsBegin(KoTextBlockData::Misspell);
QList<KoTextBlockData::MarkupRange>::Iterator markEnd = blockData.markupsEnd(KoTextBlockData::Misspell);
- for (int i = 0 ; i <= layout->lineCount(); ++i) {
+ for (int i = 0 ; i < layout->lineCount(); ++i) {
if (markIt == markEnd) {
break;
}