[arch-commits] Commit in eric-i18n/repos (3 files)
Evgeniy Alekseev
arcanis at archlinux.org
Wed Oct 29 04:05:52 UTC 2014
Date: Wednesday, October 29, 2014 @ 05:05:52
Author: arcanis
Revision: 121545
archrelease: copy trunk to community-testing-any
Added:
eric-i18n/repos/community-testing-any/
eric-i18n/repos/community-testing-any/ChangeLog
(from rev 121544, eric-i18n/trunk/ChangeLog)
eric-i18n/repos/community-testing-any/PKGBUILD
(from rev 121544, eric-i18n/trunk/PKGBUILD)
-----------+
ChangeLog | 2 ++
PKGBUILD | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 61 insertions(+)
Copied: eric-i18n/repos/community-testing-any/ChangeLog (from rev 121544, eric-i18n/trunk/ChangeLog)
===================================================================
--- community-testing-any/ChangeLog (rev 0)
+++ community-testing-any/ChangeLog 2014-10-29 04:05:52 UTC (rev 121545)
@@ -0,0 +1,2 @@
+5.5.0-1:
+upstream update. Create package
Copied: eric-i18n/repos/community-testing-any/PKGBUILD (from rev 121544, eric-i18n/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD (rev 0)
+++ community-testing-any/PKGBUILD 2014-10-29 04:05:52 UTC (rev 121545)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Evgeniy Alekseev <arcanis at archlinux dot org>
+# Contributor: M0Rf30
+
+pkgbase=eric-i18n
+pkgver=5.5.0
+pkgrel=1
+pkgdesc="Language pack for the Eric IDE"
+arch=('any')
+depends=("eric-common>=${pkgver}")
+url="http://eric-ide.python-projects.org/index.html"
+license=('GPL3')
+depends=()
+changelog=ChangeLog
+
+_languages=('cs "Czech"'
+ 'de "German"'
+ 'en "English"'
+ 'es "Spanish"'
+ 'fr "French"'
+ 'it "Italian"'
+ 'pt "Portuguese"'
+ 'ru "Russian"'
+ 'tr "Turkish"'
+ 'zh_CN.GB2312 "Chinese (Simplified)"')
+
+pkgname=()
+source=()
+_url=http://downloads.sourceforge.net/eric-ide/
+
+for _lang in "${_languages[@]}"; do
+ _path=${_lang%% *}
+ _locale=${_path%%.*}
+
+ _pkgname=eric-i18n-${_locale,,}
+ pkgname+=(${_pkgname})
+ source+=("${_url}/eric5-i18n-${_path}-${pkgver}.tar.gz")
+
+ eval "package_${_pkgname}() {
+ _package ${_lang}
+ }"
+done
+
+_package() {
+ pkgdesc="$2 language pack for Eric IDE"
+ install -Dm644 "eric5-${pkgver}/eric/i18n/eric5_$1.qm" \
+ "${pkgdir}/usr/share/qt4/translations//eric5_$1.qm"
+}
+
+md5sums=('4b95e8b8f91692583d9cb490c32a3f7e'
+ 'c338c933133694d665aa39595a66d7bc'
+ '9932eb5b755080ade976b4b71b6c153a'
+ '8454e44cfb30f75361660fa058f914c7'
+ '468f2eafc4911427557d35a4c4edaf32'
+ '16549deb19f110bba73871aa8a462d99'
+ '0fbc822559f7238b89267eabbdbf4597'
+ '0a409d7728f30b0b36bc32d352ccb996'
+ 'cda00b70b6fc0bb487eabe0deea2193c'
+ '15e82b749e3953a1fd99cb809f1dbea2')
More information about the arch-commits
mailing list