mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
244 lines
10 KiB
Bash
244 lines
10 KiB
Bash
#
|
|
# 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'
|
|
'calligra-l10n-cs'
|
|
'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'
|
|
'calligra-l10n-nb'
|
|
'calligra-l10n-nds'
|
|
'calligra-l10n-nl'
|
|
'calligra-l10n-pl'
|
|
'calligra-l10n-pt'
|
|
'calligra-l10n-pt_BR'
|
|
'calligra-l10n-ru'
|
|
'calligra-l10n-sv'
|
|
# 'calligra-l10n-tr'
|
|
'calligra-l10n-uk'
|
|
'calligra-l10n-zh_CN'
|
|
'calligra-l10n-zh_TW')
|
|
pkgver=2.3.86
|
|
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/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
|
|
ftp://ftp.kde.org/pub/kde/unstable/calligra-${pkgver}/calligra-l10n/calligra-l10n-nb-${pkgver}.tar.bz2
|
|
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
|
|
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
|
|
ftp://ftp.kde.org/pub/kde/unstable/calligra-${pkgver}/calligra-l10n/calligra-l10n-zh_TW-${pkgver}.tar.bz2
|
|
ftp://ftp.kde.org/pub/kde/unstable/calligra-${pkgver}/calligra-l10n/calligra-l10n-zh_CN-${pkgver}.tar.bz2)
|
|
md5sums=('96f7c151286f561e40107e3d721367fc' #calligra-l10n/calligra-l10n-ca-2.3.86.tar.bz2
|
|
'6f9319eff045f8ee55deec10019f9405' #calligra-l10n/calligra-l10n-ca@valencia-2.3.86.tar.bz2
|
|
'3a0a0693f3d33db459f972d91312be3b' #calligra-l10n/calligra-l10n-cs-2.3.86.tar.bz2
|
|
'676510877df8044719ef74aced217a17' #calligra-l10n/calligra-l10n-da-2.3.86.tar.bz2
|
|
'7fd635b3cf8d3a8b92e643640fe3556e' #calligra-l10n/calligra-l10n-de-2.3.86.tar.bz2
|
|
'51d8d557813f975a3c196f67a98f6f4a' #calligra-l10n/calligra-l10n-el-2.3.86.tar.bz2
|
|
'0ae35c8acb0e1be8eb33330ede32e3b5' #calligra-l10n/calligra-l10n-en_GB-2.3.86.tar.bz2
|
|
'61bf5bb5b7e0da696a6b7c184db6aba0' #calligra-l10n/calligra-l10n-es-2.3.86.tar.bz2
|
|
'a9455b309c2d62fd5c48e42dd5b45817' #calligra-l10n/calligra-l10n-et-2.3.86.tar.bz2
|
|
'0f683d3fe1440eac64458cc412600082' #calligra-l10n/calligra-l10n-fr-2.3.86.tar.bz2
|
|
'53c29179ef1eed1e74a00878a3a04f15' #calligra-l10n/calligra-l10n-it-2.3.86.tar.bz2
|
|
'218697c3561a88cc80f9fec78f33f676' #calligra-l10n/calligra-l10n-kk-2.3.86.tar.bz2
|
|
'3cd8e3aaedeb1e34a5d3f303f8cecc64' #calligra-l10n/calligra-l10n-nb-2.3.86.tar.bz2
|
|
'51c34246763387c32a35de3611d71ebc' #calligra-l10n/calligra-l10n-nds-2.3.86.tar.bz2
|
|
'bbcbd05dd1c733b92e6eadeabf8f9f80' #calligra-l10n/calligra-l10n-nl-2.3.86.tar.bz2
|
|
'10bba934d7b5ca9c5767976252b7be64' #calligra-l10n/calligra-l10n-pl-2.3.86.tar.bz2
|
|
'47c1fd566b845f9aa74920b167a098a1' #calligra-l10n/calligra-l10n-pt-2.3.86.tar.bz2
|
|
'fa7f0f45f62bb795a0fdac1b87b149cb' #calligra-l10n/calligra-l10n-pt_BR-2.3.86.tar.bz2
|
|
'f459d3ed835efb4dd7b5e3b82f5a6e19' #calligra-l10n/calligra-l10n-ru-2.3.86.tar.bz2
|
|
'623c85af01dbded2f3d8955950f29275' #calligra-l10n/calligra-l10n-sv-2.3.86.tar.bz2
|
|
'71f574ec4a56530ff336777dab010f28' #calligra-l10n/calligra-l10n-uk-2.3.86.tar.bz2
|
|
'1110c91a2069b7b2947d53c613042fb6' #calligra-l10n/calligra-l10n-zh_CN-2.3.86.tar.bz2
|
|
'6069e3a60673d09e326f01da05f67b77' #calligra-l10n/calligra-l10n-zh_TW-2.3.86.tar.bz2
|
|
|
|
build() {
|
|
cd $srcdir
|
|
langs="ca ca@valencia cs da de el en_GB es et fr it kk nb nds nl pl pt pt_BR ru 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-ca() {
|
|
pkgdesc=('Catalan Localization for calligra')
|
|
cd $srcdir/build/ca
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
|
|
package_calligra-l10n-ca@valencia() {
|
|
pkgdesc=('Catalan (Valencian) Localization for calligra')
|
|
cd $srcdir/build/ca@valencia
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
|
|
package_calligra-l10n-cs() {
|
|
pkgdesc=('Czech Localization for calligra')
|
|
cd $srcdir/build/cs
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
|
|
package_calligra-l10n-da() {
|
|
pkgdesc=('Danish Localization for calligra')
|
|
cd $srcdir/build/da
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
package_calligra-l10n-de() {
|
|
pkgdesc=('German Localization for calligra')
|
|
cd $srcdir/build/de
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
package_calligra-l10n-el() {
|
|
pkgdesc=('Greek Localization for calligra')
|
|
cd $srcdir/build/el
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
package_calligra-l10n-en_GB() {
|
|
pkgdesc=('British Localization for calligra')
|
|
cd $srcdir/build/en_GB
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
package_calligra-l10n-es() {
|
|
pkgdesc=('Spanish Localization for calligra')
|
|
cd $srcdir/build/es
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
package_calligra-l10n-et() {
|
|
pkgdesc=('Estonian Localization for calligra')
|
|
cd $srcdir/build/et
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
package_calligra-l10n-fr() {
|
|
pkgdesc=('French Localization for calligra')
|
|
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')
|
|
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')
|
|
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')
|
|
cd $srcdir/build/nds
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
package_calligra-l10n-nl() {
|
|
pkgdesc=('Dutch Localization for calligra')
|
|
cd $srcdir/build/nl
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
package_calligra-l10n-pl() {
|
|
pkgdesc=('Polish Localization for calligra')
|
|
cd $srcdir/build/pl
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
package_calligra-l10n-pt() {
|
|
pkgdesc=('Portugese Localization for calligra')
|
|
cd $srcdir/build/pt
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
package_calligra-l10n-pt_BR() {
|
|
pkgdesc=('Brazilian Portugese Localization for calligra')
|
|
cd $srcdir/build/pt_BR
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
package_calligra-l10n-ru() {
|
|
pkgdesc=('Russian Localization for calligra')
|
|
cd $srcdir/build/ru
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
package_calligra-l10n-sv() {
|
|
pkgdesc=('Swedish Localization for calligra')
|
|
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')
|
|
cd $srcdir/build/uk
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
package_calligra-l10n-zh_CN() {
|
|
pkgdesc=('Simplified Chinese Localization for calligra')
|
|
cd $srcdir/build/zh_CN
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
package_calligra-l10n-zh_TW() {
|
|
pkgdesc=('Traditional Chinese Localization for calligra')
|
|
cd $srcdir/build/zh_TW
|
|
make DESTDIR=$pkgdir install
|
|
}
|