desktop/calligra-l10n/PKGBUILD
2011-11-20 23:52:25 +00:00

434 lines
14 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-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.84
pkgrel=2
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)
md5sums=('ab42fb9872874314f09d7e2c6c6161bb' #calligra-l10n/calligra-l10n-ca-2.3.84.tar.bz2
'78d1a030782cffe49106ec123cf1f578' #calligra-l10n/calligra-l10n-ca@valencia-2.3.84.tar.bz2
'c98034a8674f57a3e9b10ca4605b4a59' #calligra-l10n/calligra-l10n-cs-2.3.84.tar.bz2
'b1d51caddfceb30b62520824a9a373ff' #calligra-l10n/calligra-l10n-da-2.3.84.tar.bz2
'2a4f924a4c3a1b92ae67565c9375f158' #calligra-l10n/calligra-l10n-de-2.3.84.tar.bz2
'514a2aeb60792fc9851159ec61784fbc' #calligra-l10n/calligra-l10n-el-2.3.84.tar.bz2
'0dcf0468e3a3a207010fd6aa6a87c4c6' #calligra-l10n/calligra-l10n-en_GB-2.3.84.tar.bz2
'a645c4fdf29fa537585c8bdf71101387' #calligra-l10n/calligra-l10n-es-2.3.84.tar.bz2
'61b25fd848f706178d78bb166d180d54' #calligra-l10n/calligra-l10n-et-2.3.84.tar.bz2
'97c6f859ca97040a523eb5fc0f0663bb' #calligra-l10n/calligra-l10n-fr-2.3.84.tar.bz2
'7e215d52040812814e1173834b6e99ac' #calligra-l10n/calligra-l10n-it-2.3.84.tar.bz2
'd4396f958821e8d666a930e75e8a321a' #calligra-l10n/calligra-l10n-kk-2.3.84.tar.bz2
'f4889d8b6043e4e8956595233a4fbe5a' #calligra-l10n/calligra-l10n-nb-2.3.84.tar.bz2
'acfc2e47c0f1832060d66b0c14ce880f' #calligra-l10n/calligra-l10n-nds-2.3.84.tar.bz2
'1e3fe10b2dc2a4209ed7d986b46cbf0f' #calligra-l10n/calligra-l10n-nl-2.3.84.tar.bz2
'e470c2c22c24cda50d16a712bafd2ed0' #calligra-l10n/calligra-l10n-pl-2.3.84.tar.bz2
'474a7ca87365cb52494d113239a25bcb' #calligra-l10n/calligra-l10n-pt-2.3.84.tar.bz2
'6aeaa13c8fc5584eb5a530d7f1df72ea' #calligra-l10n/calligra-l10n-pt_BR-2.3.84.tar.bz2
'8721f05a46797066df97826b6657f8f7' #calligra-l10n/calligra-l10n-ru-2.3.84.tar.bz2
'0f1bab8cb3994995bfcf0463f369053d' #calligra-l10n/calligra-l10n-sv-2.3.84.tar.bz2
'dcd6519d68b91d9761afbcf5fecd9c27' #calligra-l10n/calligra-l10n-uk-2.3.84.tar.bz2
'69da7a4d48d574611839eb6f692d7403') #calligra-l10n/calligra-l10n-zh_TW-2.3.84.tar.bz2'
build() {
cd $srcdir
install -d build/ca
cd build/ca
cmake ${srcdir}/calligra-l10n-ca-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
cd ../..
install -d build/ca@valencia
cd build/ca@valencia
cmake ${srcdir}/calligra-l10n-ca@valencia-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
cd ../..
install -d build/da
cd build/da
cmake ${srcdir}/calligra-l10n-da-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
cd ../..
install -d build/de
cd build/de
cmake ${srcdir}/calligra-l10n-de-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
cd ../..
install -d build/el
cd build/el
cmake ${srcdir}/calligra-l10n-el-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
cd ../..
install -d build/en_GB
cd build/en_GB
cmake ${srcdir}/calligra-l10n-en_GB-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
cd ../..
install -d build/es
cd build/es
cmake ${srcdir}/calligra-l10n-es-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
cd ../..
install -d build/et
cd build/et
cmake ${srcdir}/calligra-l10n-et-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
cd ../..
install -d build/fr
cd build/fr
cmake ${srcdir}/calligra-l10n-fr-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
cd ../..
# install -d build/gl
# cd build/gl
# cmake ${srcdir}/calligra-l10n-gl-${pkgver} \
# -DCMAKE_BUILD_TYPE=Release \
# -DCMAKE_INSTALL_PREFIX=/usr
# make
# cd ../..
# install -d build/hu
# cd build/hu
# cmake ${srcdir}/calligra-l10n-hu-${pkgver} \
# -DCMAKE_BUILD_TYPE=Release \
# -DCMAKE_INSTALL_PREFIX=/usr
# make
# cd ../..
install -d build/it
cd build/it
cmake ${srcdir}/calligra-l10n-it-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
cd ../..
# install -d build/ja
# cd build/ja
# cmake ${srcdir}/calligra-l10n-ja-${pkgver} \
# -DCMAKE_BUILD_TYPE=Release \
# -DCMAKE_INSTALL_PREFIX=/usr
# make
# cd ../..
install -d build/kk
cd build/kk
cmake ${srcdir}/calligra-l10n-kk-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
cd ../..
install -d build/nb
cd build/nb
cmake ${srcdir}/calligra-l10n-nb-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
cd ../..
install -d build/nds
cd build/nds
cmake ${srcdir}/calligra-l10n-nds-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
cd ../..
install -d build/nl
cd build/nl
cmake ${srcdir}/calligra-l10n-nl-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
cd ../..
install -d build/pl
cd build/pl
cmake ${srcdir}/calligra-l10n-pl-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
cd ../..
install -d build/pt
cd build/pt
cmake ${srcdir}/calligra-l10n-pt-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
cd ../..
install -d build/pt_BR
cd build/pt_BR
cmake ${srcdir}/calligra-l10n-pt_BR-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
cd ../..
install -d build/ru
cd build/ru
cmake ${srcdir}/calligra-l10n-ru-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
cd ../..
install -d build/sv
cd build/sv
cmake ${srcdir}/calligra-l10n-sv-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
cd ../..
# install -d build/tr
# cd build/tr
# cmake ${srcdir}/calligra-l10n-tr-${pkgver} \
# -DCMAKE_BUILD_TYPE=Release \
# -DCMAKE_INSTALL_PREFIX=/usr
# make
# cd ../..
install -d build/uk
cd build/uk
cmake ${srcdir}/calligra-l10n-uk-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
cd ../..
# install -d build/zh_CN
# cd build/zh_CN
# cmake ${srcdir}/calligra-l10n-zh_CN-${pkgver} \
# -DCMAKE_BUILD_TYPE=Release \
# -DCMAKE_INSTALL_PREFIX=/usr
# make
# cd ../..
install -d build/zh_TW
cd build/zh_TW
cmake ${srcdir}/calligra-l10n-zh_TW-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
cd ../..
}
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-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
}