mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
303 lines
11 KiB
Bash
303 lines
11 KiB
Bash
#
|
|
# KDE SC Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer abveritas@chakra-project.org
|
|
|
|
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-sk'
|
|
'calligra-l10n-sl'
|
|
'calligra-l10n-sv'
|
|
# 'calligra-l10n-tr'
|
|
'calligra-l10n-uk'
|
|
'calligra-l10n-zh_CN'
|
|
'calligra-l10n-zh_TW')
|
|
pkgver=2.6.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.bz2
|
|
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-ca-${pkgver}.tar.bz2
|
|
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-ca@valencia-${pkgver}.tar.bz2
|
|
#ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-cs-${pkgver}.tar.bz2
|
|
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-da-${pkgver}.tar.bz2
|
|
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-de-${pkgver}.tar.bz2
|
|
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-el-${pkgver}.tar.bz2
|
|
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-en_GB-${pkgver}.tar.bz2
|
|
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-es-${pkgver}.tar.bz2
|
|
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-et-${pkgver}.tar.bz2
|
|
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-fi-${pkgver}.tar.bz2
|
|
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-fr-${pkgver}.tar.bz2
|
|
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-gl-${pkgver}.tar.bz2
|
|
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-hu-${pkgver}.tar.bz2
|
|
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-it-${pkgver}.tar.bz2
|
|
#ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-ja-${pkgver}.tar.bz2
|
|
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-kk-${pkgver}.tar.bz2
|
|
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-nb-${pkgver}.tar.bz2
|
|
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-nds-${pkgver}.tar.bz2
|
|
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-nl-${pkgver}.tar.bz2
|
|
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-pl-${pkgver}.tar.bz2
|
|
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-pt-${pkgver}.tar.bz2
|
|
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-pt_BR-${pkgver}.tar.bz2
|
|
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-ru-${pkgver}.tar.bz2
|
|
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-sk-${pkgver}.tar.bz2
|
|
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-sl-${pkgver}.tar.bz2
|
|
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-sv-${pkgver}.tar.bz2
|
|
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-uk-${pkgver}.tar.bz2
|
|
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-zh_CN-${pkgver}.tar.bz2
|
|
ftp://ftp.kde.org/pub/kde/stable/calligra-${pkgver}/calligra-l10n/calligra-l10n-zh_TW-${pkgver}.tar.bz2)
|
|
md5sums=('7ddca1b8d4180eb94431ef56ac3db994'
|
|
'3e292c679d0dcd3d12c8961f1414cfef'
|
|
'dca2966e1782c537d6b9ce69b15ccbfe'
|
|
'27a457ac994d875b1628c5c615194b59'
|
|
'311eba00ab825389a4aef93ff09bac51'
|
|
'7c038ea37a2480ff167a07fd9d6b2b04'
|
|
'b733e8fff6545e8f1b5354f2d3838ba3'
|
|
'3f4ab0be39eba28cc879e74000955a0b'
|
|
'0507c641863a555e127c981ae8801279'
|
|
'7f2bd38f2d85125436b551e1c04ca197'
|
|
'5f3d5fd47597307fd381085e3b23982d'
|
|
'8d911601af920f8d41ccf22b0218329c'
|
|
'5a0a9f8b6cf2c606116f79af99aa0540'
|
|
'be2e65292c788d9ccc5af08ba323ccf6'
|
|
'02e85dc8fc18b31c3c17b078e42d930d'
|
|
'444a46e6870aaa22ebdff58b9285fd79'
|
|
'b8b791110d984b54552417a4c75a287b'
|
|
'72dd9ba1fb64c749ba6c516b50fd661a'
|
|
'6ed9b8eea10719fbfa138803add0e93c'
|
|
'b805aa811d604e8888188c1a0a696388'
|
|
'b333a4a0fea64a469e08bdd84920bc01'
|
|
'91b7ceee16f3111355ff368f8b66b78d'
|
|
'826d4536b197a5126824072514b874d4'
|
|
'5eccd5a106b607bc075a421eeb64f408'
|
|
'b8bc692d993c25925b3a97836e016dc2'
|
|
'8ae4951e2af470598e87c215c551ec20'
|
|
'7b43dc50f060f587cda8586fc8266bae'
|
|
'fce15e764f816ce69aa6c40af931151d')
|
|
|
|
build() {
|
|
cd $srcdir
|
|
langs="bs ca ca@valencia da de el en_GB es et fi fr gl hu it kk nb nds nl pl pt pt_BR ru sk sl sv 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
|
|
make
|
|
popd
|
|
done
|
|
}
|
|
|
|
package_calligra-l10n-bs() {
|
|
pkgdesc=('Bosnian Localization for calligra')
|
|
categories=('localization')
|
|
cd $srcdir/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
|
|
}
|
|
|
|
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-cs() {
|
|
pkgdesc=('Czech Localization for calligra')
|
|
categories=('localization')
|
|
cd $srcdir/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
|
|
}
|
|
package_calligra-l10n-de() {
|
|
pkgdesc=('German Localization for calligra')
|
|
categories=('localization')
|
|
cd $srcdir/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
|
|
}
|
|
package_calligra-l10n-en_GB() {
|
|
pkgdesc=('British Localization for calligra')
|
|
categories=('localization')
|
|
cd $srcdir/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
|
|
}
|
|
package_calligra-l10n-et() {
|
|
pkgdesc=('Estonian Localization for calligra')
|
|
categories=('localization')
|
|
cd $srcdir/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
|
|
}
|
|
package_calligra-l10n-fr() {
|
|
pkgdesc=('French Localization for calligra')
|
|
categories=('localization')
|
|
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')
|
|
categories=('localization')
|
|
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')
|
|
categories=('localization')
|
|
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')
|
|
categories=('localization')
|
|
cd $srcdir/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
|
|
}
|
|
package_calligra-l10n-pl() {
|
|
pkgdesc=('Polish Localization for calligra')
|
|
categories=('localization')
|
|
cd $srcdir/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
|
|
}
|
|
package_calligra-l10n-pt_BR() {
|
|
pkgdesc=('Brazilian Portugese Localization for calligra')
|
|
categories=('localization')
|
|
cd $srcdir/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
|
|
}
|
|
package_calligra-l10n-sk() {
|
|
pkgdesc=('Slovak Localization for calligra')
|
|
categories=('localization')
|
|
cd $srcdir/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
|
|
}
|
|
package_calligra-l10n-sv() {
|
|
pkgdesc=('Swedish Localization for calligra')
|
|
categories=('localization')
|
|
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')
|
|
categories=('localization')
|
|
cd $srcdir/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
|
|
}
|
|
package_calligra-l10n-zh_TW() {
|
|
pkgdesc=('Traditional Chinese Localization for calligra')
|
|
categories=('localization')
|
|
cd $srcdir/build/zh_TW
|
|
make DESTDIR=$pkgdir install
|
|
}
|