Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=0436a4af7ed8059dae1f1d6c8a0f161aaf77e5b8

commit 0436a4af7ed8059dae1f1d6c8a0f161aaf77e5b8
Author: Melko <[email protected]>
Date:   Tue Sep 13 23:17:39 2011 +0200

eric4-4.4.17-1-i686

* version bump

diff --git a/source/xapps-extra/eric4/FrugalBuild 
b/source/xapps-extra/eric4/FrugalBuild
index b6681de..392e01b 100644
--- a/source/xapps-extra/eric4/FrugalBuild
+++ b/source/xapps-extra/eric4/FrugalBuild
@@ -2,40 +2,52 @@
# Maintainer: crazy <[email protected]>

pkgname=eric4
-pkgver=4.4.7
+pkgver=4.4.17
pkgrel=1
pkgdesc="Eric4 is a full featured Python (and Ruby) IDE that is written in 
PyQt4."
_F_sourceforge_dirname="eric-ide"
Finclude sourceforge python
-url="http://www.die-offenbachs.de/eric/index.html";
-source=($source \
-       ${source/eric4-$pkgver/eric4-i18n-de-$pkgver} \
-       ${source/eric4-$pkgver/eric4-i18n-fr-$pkgver} \
-       ${source/eric4-$pkgver/eric4-i18n-ru-$pkgver} \
-       ${source/eric4-$pkgver/eric4-i18n-cs-$pkgver} \
-       ${source/eric4-$pkgver/eric4-i18n-tr-$pkgver} \
-       $pkgname.desktop)
-sha1sums=('308d37eaef94e4a771ace42dfc5950048315bbb1' \
-          '8b59a790f0663f5df14cc30cffa21ec081d45e97' \
-          'c6a6a81bf8d7008b97357b9a6df754b51282d47a' \
-          '9ba647a85c65e046de3fa2ad6045f0cf4b92750d' \
-          '2b1038bb094178f99598da1c8bad08bb14140ca8' \
-          '6a93368ba85ca5e4cf2e2133a18153fa4f29ae2a' \
+up2date="lynx -dump http://eric-ide.python-projects.org/eric-news.html| grep 
'eric4 .* has been released'| sed -n 's/.* \([0-9.]*\) has been 
released.*/\1/;1p'"
+
+psrc="$source"
+plangs=('cs' 'de' 'en' 'es' 'fr' 'it' 'ru' 'tr')
+pdesc=('Czech' 'German' 'English' 'Spanish' 'French' 'Italian' 'Russian' 
'Turkish')
+
+## sources
+for i in ${plangs[@]}
+do
+       source=(${source[@]} ${psrc/eric4-$pkgver/eric4-i18n-$i-$pkgver})
+done
+source=(${source[@]} $pkgname.desktop)
+
+sha1sums=('8e238eed54fe836daeb107c15b81102053698a5b' \
+          '0a837c2332c5eea27e18c362388735631faedd79' \
+          'c66d63f715885f793652c87752f9c5443e4ccf53' \
+          'a402bbbf856c01359ca66139c1ea365d5fe27792' \
+          'fe2a7f476870fe6a02add35892083805e17f71cb' \
+          'b136764aff47c5338b74c2e4a70ac0575ae64bba' \
+          '3c88f00aceb4bed0671a78c0cecd5f500a0afafa' \
+          'd8d7dea195c5676faea6ae8e1e8a6bc897b7608c' \
+          '54275a0c1282261ce93e55b7783ad0e84fc6bf8b' \
'bdc6b72e48c1cab4bf779ed72a61b42cc1f997e5')
groups=('xapps-extra')
archs=('i686' 'x86_64')
options=('scriptlet')
-depends=('pyqt4>=4.7.5' 'qscintilla2-qt4>=2.4.5' 
'qscintilla2-python-qt4>=2.4.5' 'libxcursor')
+depends=('qscintilla2-python-qt4>=2.5.1')
rodepends=('shared-mime-info')

-subpkgs=("$pkgname-i18n-de" "$pkgname-i18n-fr" "$pkgname-i18n-ru" 
"$pkgname-i18n-cs" "$pkgname-i18n-tr")
-subreplaces=('' '' '' "$pkgname-i18n-cs_cz" '')
-subdescs=('German language files for Eric4' 'Frech language files for Eric4' \
-       'Russian language files for Eric4' 'Czech language files for Eric4' \
-       'Turkish language files for Eric4')
-subgroups=('locale-extra' 'locale-extra' 'locale-extra' 'locale-extra' 
'locale-extra')
-subdepends=('' '' '' '' '')
-subarchs=('i686 x86_64' 'i686 x86_64' 'i686 x86_64' 'i686 x86_64' 'i686 
x86_64')
+## subpkgs
+i=0
+while [ $i -lt ${#plangs[@]} ]
+do
+       subpkgs=("${subpkgs[@]}" "$pkgname-i18n-${plangs[$i]}")
+       subdescs=("${subdescs[@]}" "${pdescs[$i]} language files for Eric4.")
+       subreplaces=("${subreplaces[@]}" '')
+       subgroups=("${subgroups[@]}" 'locale-extra')
+       subdepends=("${subdepends[@]}" '')
+       subarchs=("${subarchs[@]}" 'i686 x86_64')
+       i=$(($i+1))
+done

build()
{
@@ -49,9 +61,8 @@ build()
Ffilerel eric/icons/default/eric.png /usr/share/pixmaps/$pkgname.png
Ffile /usr/share/applications/$pkgname.desktop

-       Fsplit $pkgname-i18n-de $_F_python_libdir/eric4/i18n/eric4_de.qm
-       Fsplit $pkgname-i18n-fr $_F_python_libdir/eric4/i18n/eric4_fr.qm
-       Fsplit $pkgname-i18n-ru $_F_python_libdir/eric4/i18n/eric4_ru.qm
-       Fsplit $pkgname-i18n-cs $_F_python_libdir/eric4/i18n/eric4_cs.qm
-       Fsplit $pkgname-i18n-tr $_F_python_libdir/eric4/i18n/eric4_tr.qm
+       for i in ${plangs[@]}
+       do
+               Fsplit $pkgname-i18n-$i $_F_python_libdir/eric4/i18n/eric4_$i.qm
+       done
}
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to