[arch-commits] Commit in kde-l10n/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Mon Aug 24 14:34:17 UTC 2015
Date: Monday, August 24, 2015 @ 16:34:16
Author: arojas
Revision: 244765
Provide KDE4 kdepim translations (FS#46091)
Modified:
kde-l10n/trunk/PKGBUILD
----------+
PKGBUILD | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-08-24 11:32:48 UTC (rev 244764)
+++ PKGBUILD 2015-08-24 14:34:16 UTC (rev 244765)
@@ -5,7 +5,7 @@
pkgbase=kde-l10n
pkgver=15.08.0
-pkgrel=1
+pkgrel=2
arch=('any')
url='http://www.kde.org/'
license=('GPL')
@@ -145,7 +145,15 @@
# Remove kde-runtime and kde-workspace docs, conflicts with plasma-desktop
sed -e '/kde-runtime/d' -e '/kde-workspace/d' -i $pkgbase-$_locale-$pkgver/4/$_locale/docs/CMakeLists.txt || true
+# Provide KDE4 PIM translations TODO: Remove in 15.12
+ for _m in kdepim kdepim-runtime kdepimlibs ; do
+ if [[ -d "$pkgbase-$_locale-$pkgver/5/$_locale/messages/$_m" ]] ; then
+ cp -r $pkgbase-$_locale-$pkgver/{5,4}/$_locale/messages/$_m
+ cp $pkgbase-$_locale-$pkgver/4/$_locale/messages/{kdelibs,$_m}/CMakeLists.txt
+ echo "add_subdirectory($_m)" >> $pkgbase-$_locale-$pkgver/4/$_locale/messages/CMakeLists.txt
+ fi
done
+ done
}
build() {
@@ -167,4 +175,3 @@
cd build/$1
make DESTDIR="$pkgdir" install
}
-
More information about the arch-commits
mailing list