[arch-commits] Commit in eric-i18n/trunk (ChangeLog PKGBUILD)

Evgeniy Alekseev arcanis at archlinux.org
Mon Feb 8 15:57:54 UTC 2016


    Date: Monday, February 8, 2016 @ 16:57:53
  Author: arcanis
Revision: 160925

upgpkg: eric-i18n 6.1.2-3
fix invalid zh_cn package naming, and broken description

Modified:
  eric-i18n/trunk/ChangeLog
  eric-i18n/trunk/PKGBUILD

-----------+
 ChangeLog |    4 ++++
 PKGBUILD  |    8 ++++----
 2 files changed, 8 insertions(+), 4 deletions(-)

Modified: ChangeLog
===================================================================
--- ChangeLog	2016-02-08 15:41:23 UTC (rev 160924)
+++ ChangeLog	2016-02-08 15:57:53 UTC (rev 160925)
@@ -1,3 +1,7 @@
+6.1.2-3:
+* rename zh_CN package to zh_cn
+* fix description
+
 6.1.2-2:
 rebuild in clean chroot for .BUILDINFO
 

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-02-08 15:41:23 UTC (rev 160924)
+++ PKGBUILD	2016-02-08 15:57:53 UTC (rev 160925)
@@ -4,7 +4,7 @@
 
 pkgbase=eric-i18n
 pkgver=6.1.2
-pkgrel=2
+pkgrel=3
 pkgdesc="Language pack for the Eric IDE"
 arch=('any')
 depends=()
@@ -31,11 +31,11 @@
 for _lang in "${_languages[@]}"; do
   _locale=${_lang%% *}
 
-  pkgname+=(eric-i18n-${_locale} eric-qt4-i18n-${_locale})
+  pkgname+=(eric-i18n-${_locale,,} eric-qt4-i18n-${_locale,,})
   source+=("${_url}/eric6-i18n-${_locale}-${pkgver}.tar.gz")
 
   for _qtver in '-qt4' ''; do
-    eval "package_eric${_qtver}-i18n-${_locale}() {
+    eval "package_eric${_qtver}-i18n-${_locale,,}() {
       _package ${_locale} ${_qtver}
     }"
   done
@@ -42,7 +42,7 @@
 done
 
 _package() {
-  pkgdesc="${2} language pack for Eric IDE"
+  pkgdesc="${1} language pack for Eric IDE"
   depends=("eric-common${3}>=${pkgver}")
 
   [ -z ${3} ] && _qtver="qt" || _qtver="qt4"



More information about the arch-commits mailing list