kde-l10n: PKGBUILD fixes - still fails

This commit is contained in:
Neophytos Kolokotronis 2015-04-10 23:34:23 +00:00
parent 339adf8441
commit 39371550d2

View File

@ -18,6 +18,7 @@ pkgname=('kde-l10n-ar'
'kde-l10n-el'
'kde-l10n-en_GB'
'kde-l10n-es'
'kde-l10n-eo'
'kde-l10n-et'
'kde-l10n-eu'
'kde-l10n-fa'
@ -63,7 +64,7 @@ pkgname=('kde-l10n-ar'
'kde-l10n-zh_TW')
arch=('x86_64')
pkgver=${_kdever}
pkgrel=4
pkgrel=1
url="http://www.kde.org"
license=('GPL' 'FDL')
makedepends=('kdoctools' 'ki18n' 'qt5-tools' 'extra-cmake-modules')
@ -75,9 +76,9 @@ sha256sums=()
for _name in "${pkgname[@]}"; do
source+=(${_mirror}/${pkgbase}/${_name}-${pkgver}.tar.xz)
source+=(${_oldkdemirror}/${pkgbase}/${_name}-${_oldkdever}.tar.xz)
[[ ${_name} != "kde-l10n-eo" ]] && source+=(${_oldkdemirror}/${pkgbase}/${_name}-${_oldkdever}.tar.xz)
sha256sums+=(`grep "${_name}-${pkgver}.tar.xz" ../checksums.txt | cut -d " " -f1`)
sha256sums+=(`grep "${_name}-${_oldkdever}.tar.xz" ../checksums.txt | cut -d " " -f1`)
[[ ${_name} != "kde-l10n-eo" ]] && sha256sums+=(`grep "${_name}-${_oldkdever}.tar.xz" ../checksums.txt | cut -d " " -f1`)
done
build() {
@ -94,12 +95,15 @@ build() {
# done
for it in ${pkgname[@]} ; do
if [ ${it} != "kde-l10n-eo" ];
then
pushd "$it-$_oldkdever"
cmake \
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
-DCMAKE_BUILD_TYPE=Release
make
popd
fi
pushd "$it-$pkgver"
cmake \
@ -284,6 +288,15 @@ package_kde-l10n-el()
package_helper el
}
package_kde-l10n-eo()
{
pkgdesc="KDE language support: Esperanto"
groups=("kde-uninstall" "kde-l10n")
categories=('localization')
package_helper eo
}
package_kde-l10n-en_GB()
{
pkgdesc="KDE language support: British English"