mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 22:37:13 +08:00
445 lines
14 KiB
Bash
445 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=koffice-l10n
|
|
pkgname=('koffice-l10n-ca'
|
|
'koffice-l10n-ca@valencia'
|
|
'koffice-l10n-da'
|
|
'koffice-l10n-de'
|
|
'koffice-l10n-el'
|
|
'koffice-l10n-en_gb'
|
|
'koffice-l10n-es'
|
|
'koffice-l10n-et'
|
|
'koffice-l10n-fr'
|
|
'koffice-l10n-gl'
|
|
'koffice-l10n-it'
|
|
'koffice-l10n-ja'
|
|
'koffice-l10n-kk'
|
|
'koffice-l10n-nb'
|
|
'koffice-l10n-nds'
|
|
'koffice-l10n-nl'
|
|
'koffice-l10n-pl'
|
|
'koffice-l10n-pt'
|
|
'koffice-l10n-pt_br'
|
|
'koffice-l10n-ru'
|
|
'koffice-l10n-sv'
|
|
'koffice-l10n-tr'
|
|
'koffice-l10n-uk'
|
|
'koffice-l10n-wa'
|
|
'koffice-l10n-zh_cn'
|
|
'koffice-l10n-zh_tw')
|
|
pkgver=2.2.2
|
|
pkgrel=1
|
|
arch=('any')
|
|
url='http://www.koffice.org'
|
|
license=('GPL')
|
|
groups=('koffice-l10n')
|
|
makedepends=('pkgconfig' 'cmake' 'automoc4' 'kdelibs')
|
|
options=('docs')
|
|
source=("http://download.kde.org/stable/koffice-${pkgver}/koffice-l10n/${pkgbase}-ca-${pkgver}.tar.bz2"
|
|
"http://download.kde.org/stable/koffice-${pkgver}/koffice-l10n/${pkgbase}-ca@valencia-${pkgver}.tar.bz2"
|
|
"http://download.kde.org/stable/koffice-${pkgver}/koffice-l10n/${pkgbase}-da-${pkgver}.tar.bz2"
|
|
"http://download.kde.org/stable/koffice-${pkgver}/koffice-l10n/${pkgbase}-de-${pkgver}.tar.bz2"
|
|
"http://download.kde.org/stable/koffice-${pkgver}/koffice-l10n/${pkgbase}-el-${pkgver}.tar.bz2"
|
|
"http://download.kde.org/stable/koffice-${pkgver}/koffice-l10n/${pkgbase}-en_GB-${pkgver}.tar.bz2"
|
|
"http://download.kde.org/stable/koffice-${pkgver}/koffice-l10n/${pkgbase}-es-${pkgver}.tar.bz2"
|
|
"http://download.kde.org/stable/koffice-${pkgver}/koffice-l10n/${pkgbase}-et-${pkgver}.tar.bz2"
|
|
"http://download.kde.org/stable/koffice-${pkgver}/koffice-l10n/${pkgbase}-fr-${pkgver}.tar.bz2"
|
|
"http://download.kde.org/stable/koffice-${pkgver}/koffice-l10n/${pkgbase}-gl-${pkgver}.tar.bz2"
|
|
"http://download.kde.org/stable/koffice-${pkgver}/koffice-l10n/${pkgbase}-it-${pkgver}.tar.bz2"
|
|
"http://download.kde.org/stable/koffice-${pkgver}/koffice-l10n/${pkgbase}-ja-${pkgver}.tar.bz2"
|
|
"http://download.kde.org/stable/koffice-${pkgver}/koffice-l10n/${pkgbase}-kk-${pkgver}.tar.bz2"
|
|
"http://download.kde.org/stable/koffice-${pkgver}/koffice-l10n/${pkgbase}-nb-${pkgver}.tar.bz2"
|
|
"http://download.kde.org/stable/koffice-${pkgver}/koffice-l10n/${pkgbase}-nds-${pkgver}.tar.bz2"
|
|
"http://download.kde.org/stable/koffice-${pkgver}/koffice-l10n/${pkgbase}-nl-${pkgver}.tar.bz2"
|
|
"http://download.kde.org/stable/koffice-${pkgver}/koffice-l10n/${pkgbase}-pl-${pkgver}.tar.bz2"
|
|
"http://download.kde.org/stable/koffice-${pkgver}/koffice-l10n/${pkgbase}-pt-${pkgver}.tar.bz2"
|
|
"http://download.kde.org/stable/koffice-${pkgver}/koffice-l10n/${pkgbase}-pt_BR-${pkgver}.tar.bz2"
|
|
"http://download.kde.org/stable/koffice-${pkgver}/koffice-l10n/${pkgbase}-ru-${pkgver}.tar.bz2"
|
|
"http://download.kde.org/stable/koffice-${pkgver}/koffice-l10n/${pkgbase}-sv-${pkgver}.tar.bz2"
|
|
"http://download.kde.org/stable/koffice-${pkgver}/koffice-l10n/${pkgbase}-tr-${pkgver}.tar.bz2"
|
|
"http://download.kde.org/stable/koffice-${pkgver}/koffice-l10n/${pkgbase}-uk-${pkgver}.tar.bz2"
|
|
"http://download.kde.org/stable/koffice-${pkgver}/koffice-l10n/${pkgbase}-wa-${pkgver}.tar.bz2"
|
|
"http://download.kde.org/stable/koffice-${pkgver}/koffice-l10n/${pkgbase}-zh_CN-${pkgver}.tar.bz2"
|
|
"http://download.kde.org/stable/koffice-${pkgver}/koffice-l10n/${pkgbase}-zh_TW-${pkgver}.tar.bz2")
|
|
|
|
md5sums=('142d0626eac29c19a1d2b66dfc0ded16' # koffice-l10n-ca-2.2.2.tar.bz2
|
|
'636d71a0cf615287456ec5846e07db39' # koffice-l10n-ca@valencia-2.2.2.tar.bz2
|
|
'0cd6ff9e2bddf4306c316150e015fc6f' # koffice-l10n-da-2.2.2.tar.bz2
|
|
'15d340247b23fe6aad767ab94713b4a0' # koffice-l10n-de-2.2.2.tar.bz2
|
|
'c08c1066cef43ce670ac66e001b4ea18' # koffice-l10n-el-2.2.2.tar.bz2
|
|
'e989a0ed9b17d7e8dc1fd6dbc5c26835' # koffice-l10n-en_GB-2.2.2.tar.bz2
|
|
'5a278bd75486c6c796d9ed4097ca371b' # koffice-l10n-es-2.2.2.tar.bz2
|
|
'47ad097296ef143cc6a9ae0a538e01c4' # koffice-l10n-et-2.2.2.tar.bz2
|
|
'25242975ae4d8575fec807665ee3da06' # koffice-l10n-fr-2.2.2.tar.bz2
|
|
'c948cd9b86a91ab97c5b2ce13133e582' # koffice-l10n-gl-2.2.2.tar.bz2
|
|
'b25740e9670b8156ca71a168721e3783' # koffice-l10n-it-2.2.2.tar.bz2
|
|
'9aad40953bf537c8a9761163e630eca1' # koffice-l10n-ja-2.2.2.tar.bz2
|
|
'6dd6e292fa51e122c7c32bef0d536c60' # koffice-l10n-kk-2.2.2.tar.bz2
|
|
'72cb65e00a0aba8224cffffb9c73850c' # koffice-l10n-nb-2.2.2.tar.bz2
|
|
'abeda39cb2130e44c0b1efd4b9c8bf03' # koffice-l10n-nds-2.2.2.tar.bz2
|
|
'c7c693ce2101d22b9fbb35d844dbfef7' # koffice-l10n-nl-2.2.2.tar.bz2
|
|
'04d3e186bfe74a7bbb2e96e4079435c5' # koffice-l10n-pl-2.2.2.tar.bz2
|
|
'0dd7eb1b88030978c1e165cc713a72d3' # koffice-l10n-pt-2.2.2.tar.bz2
|
|
'54817bbbea7f541f2983243a45ade2b1' # koffice-l10n-pt_BR-2.2.2.tar.bz2
|
|
'd9e07a3fb20c527b450177b81fc43269' # koffice-l10n-ru-2.2.2.tar.bz2
|
|
'79c1cc4b5ddba4952c9f21c561978b51' # koffice-l10n-sv-2.2.2.tar.bz2
|
|
'd452c050e888f9590b73561f72bc4255' # koffice-l10n-tr-2.2.2.tar.bz2
|
|
'fd11c70ce44c9ba70bb19ab722fac4f1' # koffice-l10n-uk-2.2.2.tar.bz2
|
|
'24bba80d7138d4b5d3f7464ac549c13e' # koffice-l10n-wa-2.2.2.tar.bz2
|
|
'52a81ed273b4bf7d7d9fb71d4dc91b0d' # koffice-l10n-zh_CN-2.2.2.tar.bz2
|
|
'b548b78c30653d4efda8dfe842f48a24') # koffice-l10n-zh_TW-2.2.2.tar.bz2)
|
|
|
|
build() {
|
|
cd $srcdir
|
|
|
|
install -d build/ca
|
|
cd build/ca
|
|
cmake ${srcdir}/koffice-l10n-ca-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make || return 1
|
|
cd ../..
|
|
|
|
install -d build/ca@valencia
|
|
cd build/ca@valencia
|
|
cmake ${srcdir}/koffice-l10n-ca@valencia-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make || return 1
|
|
cd ../..
|
|
|
|
install -d build/da
|
|
cd build/da
|
|
cmake ${srcdir}/koffice-l10n-da-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make || return 1
|
|
cd ../..
|
|
|
|
install -d build/de
|
|
cd build/de
|
|
cmake ${srcdir}/koffice-l10n-de-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make || return 1
|
|
cd ../..
|
|
|
|
install -d build/el
|
|
cd build/el
|
|
cmake ${srcdir}/koffice-l10n-el-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make || return 1
|
|
cd ../..
|
|
|
|
install -d build/en_GB
|
|
cd build/en_GB
|
|
cmake ${srcdir}/koffice-l10n-en_GB-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make || return 1
|
|
cd ../..
|
|
|
|
install -d build/es
|
|
cd build/es
|
|
cmake ${srcdir}/koffice-l10n-es-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make || return 1
|
|
cd ../..
|
|
|
|
install -d build/et
|
|
cd build/et
|
|
cmake ${srcdir}/koffice-l10n-et-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make || return 1
|
|
cd ../..
|
|
|
|
install -d build/fr
|
|
cd build/fr
|
|
cmake ${srcdir}/koffice-l10n-fr-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make || return 1
|
|
cd ../..
|
|
|
|
install -d build/gl
|
|
cd build/gl
|
|
cmake ${srcdir}/koffice-l10n-gl-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make || return 1
|
|
cd ../..
|
|
|
|
install -d build/it
|
|
cd build/it
|
|
cmake ${srcdir}/koffice-l10n-it-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make || return 1
|
|
cd ../..
|
|
|
|
install -d build/ja
|
|
cd build/ja
|
|
cmake ${srcdir}/koffice-l10n-ja-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make || return 1
|
|
cd ../..
|
|
|
|
install -d build/kk
|
|
cd build/kk
|
|
cmake ${srcdir}/koffice-l10n-kk-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make || return 1
|
|
cd ../..
|
|
|
|
install -d build/nb
|
|
cd build/nb
|
|
cmake ${srcdir}/koffice-l10n-nb-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make || return 1
|
|
cd ../..
|
|
|
|
install -d build/nds
|
|
cd build/nds
|
|
cmake ${srcdir}/koffice-l10n-nds-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make || return 1
|
|
cd ../..
|
|
|
|
install -d build/nl
|
|
cd build/nl
|
|
cmake ${srcdir}/koffice-l10n-nl-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make || return 1
|
|
cd ../..
|
|
|
|
install -d build/pl
|
|
cd build/pl
|
|
cmake ${srcdir}/koffice-l10n-pl-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make || return 1
|
|
cd ../..
|
|
|
|
install -d build/pt
|
|
cd build/pt
|
|
cmake ${srcdir}/koffice-l10n-pt-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make || return 1
|
|
cd ../..
|
|
|
|
install -d build/pt_BR
|
|
cd build/pt_BR
|
|
cmake ${srcdir}/koffice-l10n-pt_BR-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make || return 1
|
|
cd ../..
|
|
|
|
install -d build/ru
|
|
cd build/ru
|
|
cmake ${srcdir}/koffice-l10n-ru-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make || return 1
|
|
cd ../..
|
|
|
|
install -d build/sv
|
|
cd build/sv
|
|
cmake ${srcdir}/koffice-l10n-sv-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make || return 1
|
|
cd ../..
|
|
|
|
install -d build/tr
|
|
cd build/tr
|
|
cmake ${srcdir}/koffice-l10n-tr-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make || return 1
|
|
cd ../..
|
|
|
|
install -d build/uk
|
|
cd build/uk
|
|
cmake ${srcdir}/koffice-l10n-uk-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make || return 1
|
|
cd ../..
|
|
|
|
install -d build/wa
|
|
cd build/wa
|
|
cmake ${srcdir}/koffice-l10n-wa-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make || return 1
|
|
cd ../..
|
|
|
|
install -d build/zh_CN
|
|
cd build/zh_CN
|
|
cmake ${srcdir}/koffice-l10n-zh_CN-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make || return 1
|
|
cd ../..
|
|
|
|
install -d build/zh_TW
|
|
cd build/zh_TW
|
|
cmake ${srcdir}/koffice-l10n-zh_TW-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make || return 1
|
|
cd ../..
|
|
|
|
}
|
|
|
|
package_koffice-l10n-ca() {
|
|
pkgdesc=('Catalan Localization for Koffice')
|
|
cd $srcdir/build/ca
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
|
|
package_koffice-l10n-ca@valencia() {
|
|
pkgdesc=('Catalan (Valencian) Localization for Koffice')
|
|
cd $srcdir/build/ca@valencia
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
|
|
package_koffice-l10n-da() {
|
|
pkgdesc=('Danish Localization for Koffice')
|
|
cd $srcdir/build/da
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
package_koffice-l10n-de() {
|
|
pkgdesc=('German Localization for Koffice')
|
|
cd $srcdir/build/de
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
package_koffice-l10n-el() {
|
|
pkgdesc=('Greek Localization for Koffice')
|
|
cd $srcdir/build/el
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
package_koffice-l10n-en_gb() {
|
|
pkgdesc=('British Localization for Koffice')
|
|
cd $srcdir/build/en_GB
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
package_koffice-l10n-es() {
|
|
pkgdesc=('Spanish Localization for Koffice')
|
|
cd $srcdir/build/es
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
package_koffice-l10n-et() {
|
|
pkgdesc=('Estonian Localization for Koffice')
|
|
cd $srcdir/build/et
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
package_koffice-l10n-fr() {
|
|
pkgdesc=('French Localization for Koffice')
|
|
cd $srcdir/build/fr
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
package_koffice-l10n-gl() {
|
|
pkgdesc=('Galician Localization for Koffice')
|
|
cd $srcdir/build/gl
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
package_koffice-l10n-it() {
|
|
pkgdesc=('Italian Localization for Koffice')
|
|
cd $srcdir/build/it
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
package_koffice-l10n-ja() {
|
|
pkgdesc=('Japanese Localization for Koffice')
|
|
cd $srcdir/build/ja
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
package_koffice-l10n-kk() {
|
|
pkgdesc=('Kazakh Localization for Koffice')
|
|
cd $srcdir/build/kk
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
package_koffice-l10n-nb() {
|
|
pkgdesc=('Norwegian Bookmal Localization for Koffice')
|
|
cd $srcdir/build/nb
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
package_koffice-l10n-nds() {
|
|
pkgdesc=('Low Saxon Localization for Koffice')
|
|
cd $srcdir/build/nds
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
package_koffice-l10n-nl() {
|
|
pkgdesc=('Dutch Localization for Koffice')
|
|
cd $srcdir/build/nl
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
package_koffice-l10n-pl() {
|
|
pkgdesc=('Polish Localization for Koffice')
|
|
cd $srcdir/build/pl
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
package_koffice-l10n-pt() {
|
|
pkgdesc=('Portugese Localization for Koffice')
|
|
cd $srcdir/build/pt
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
package_koffice-l10n-pt_br() {
|
|
pkgdesc=('Brazilian Portugese Localization for Koffice')
|
|
cd $srcdir/build/pt_BR
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
package_koffice-l10n-ru() {
|
|
pkgdesc=('Russian Localization for Koffice')
|
|
cd $srcdir/build/ru
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
package_koffice-l10n-sv() {
|
|
pkgdesc=('Swedish Localization for Koffice')
|
|
cd $srcdir/build/sv
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
package_koffice-l10n-tr() {
|
|
pkgdesc=('Turkish Localization for Koffice')
|
|
cd $srcdir/build/tr
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
package_koffice-l10n-uk() {
|
|
pkgdesc=('Ukrainian Localization for Koffice')
|
|
cd $srcdir/build/uk
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
package_koffice-l10n-wa() {
|
|
pkgdesc=('Wallonian Localization for Koffice')
|
|
cd $srcdir/build/wa
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
package_koffice-l10n-zh_cn() {
|
|
pkgdesc=('Simplified Chinese Localization for Koffice')
|
|
cd $srcdir/build/zh_CN
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
package_koffice-l10n-zh_tw() {
|
|
pkgdesc=('Traditional Chinese Localization for Koffice')
|
|
cd $srcdir/build/zh_TW
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
|