[arch-commits] Commit in firefox-i18n/repos (extra-x86_64 extra-x86_64/PKGBUILD)

Jan de Groot jgc at archlinux.org
Sat Jun 13 11:39:26 EDT 2009


    Date: Saturday, June 13, 2009 @ 11:39:26
  Author: jgc
Revision: 42402

Merged revisions 42401 via svnmerge from 
svn+ssh://svn.archlinux.org/srv/svn-packages/firefox-i18n/trunk

........
  r42401 | jgc | 2009-06-13 17:39:10 +0200 (Sat, 13 Jun 2009) | 2 lines
  
  upgpkg: firefox-i18n 3.0.11-1
      Do not use eval in variables anymore
........

Modified:
  firefox-i18n/repos/extra-x86_64/	(properties)
  firefox-i18n/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |  198 +++++++++++++++++++++++++++++++++++++++----------------------
 1 file changed, 128 insertions(+), 70 deletions(-)


Property changes on: firefox-i18n/repos/extra-x86_64
___________________________________________________________________
Modified: svnmerge-integrated
   - /firefox-i18n/trunk:1-36892
   + /firefox-i18n/trunk:1-42401

Modified: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2009-06-13 15:39:10 UTC (rev 42401)
+++ extra-x86_64/PKGBUILD	2009-06-13 15:39:26 UTC (rev 42402)
@@ -3,84 +3,142 @@
 # Contributor: Jaroslaw Swierczynski <swiergot at juvepoland.com>
 # Contributor: Michal Hybner <dta081 at gmail.com>
 pkgname=firefox-i18n
-pkgver=3.0.10
+pkgver=3.0.11
 pkgrel=1
-_languages=af,ar,be,bg,bn-IN,ca,cs,cy,da,de,el,en-GB,eo,es-AR,es-ES,et,eu,fi,fr,fy-NL,ga-IE,gl,gu-IN,he,hi-IN,hu,id,is,it,ja,ka,kn,ko,ku,lt,lv,mk,mn,mr,nb-NO,nl,nn-NO,oc,pa-IN,pl,pt-BR,pt-PT,ro,ru,si,sk,sl,sq,sr,sv-SE,te,th,tr,uk,zh-CN,zh-TW
 pkgdesc="Language packs for Firefox"
 arch=(i686 x86_64)
 license=('MPL')
 url="http://www.mozilla.com/"
 depends=("firefox>=${pkgver}")
-eval conflicts=(mozilla-firefox-i18n mozilla-firefox-{${_languages}} firefox-{${_languages}})
-makedepends=('unzip')
-eval source=(ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${pkgver}/linux-i686/xpi/{${_languages}}.xpi)
+_url=ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${pkgver}/linux-i686/xpi/
+source=($_url/af.xpi
+        $_url/ar.xpi
+        $_url/be.xpi
+        $_url/bg.xpi
+        $_url/bn-IN.xpi
+        $_url/ca.xpi
+        $_url/cs.xpi
+        $_url/cy.xpi
+        $_url/da.xpi
+        $_url/de.xpi
+        $_url/el.xpi
+        $_url/en-GB.xpi
+        $_url/eo.xpi
+        $_url/es-AR.xpi
+        $_url/es-ES.xpi
+        $_url/et.xpi
+        $_url/eu.xpi
+        $_url/fi.xpi
+        $_url/fr.xpi
+        $_url/fy-NL.xpi
+        $_url/ga-IE.xpi
+        $_url/gl.xpi
+        $_url/gu-IN.xpi
+        $_url/he.xpi
+        $_url/hi-IN.xpi
+        $_url/hu.xpi
+        $_url/id.xpi
+        $_url/is.xpi
+        $_url/it.xpi
+        $_url/ja.xpi
+        $_url/ka.xpi
+        $_url/kn.xpi
+        $_url/ko.xpi
+        $_url/ku.xpi
+        $_url/lt.xpi
+        $_url/lv.xpi
+        $_url/mk.xpi
+        $_url/mn.xpi
+        $_url/mr.xpi
+        $_url/nb-NO.xpi
+        $_url/nl.xpi
+        $_url/nn-NO.xpi
+        $_url/oc.xpi
+        $_url/pa-IN.xpi
+        $_url/pl.xpi
+        $_url/pt-BR.xpi
+        $_url/pt-PT.xpi
+        $_url/ro.xpi
+        $_url/ru.xpi
+        $_url/si.xpi
+        $_url/sk.xpi
+        $_url/sl.xpi
+        $_url/sq.xpi
+        $_url/sr.xpi
+        $_url/sv-SE.xpi
+        $_url/te.xpi
+        $_url/th.xpi
+        $_url/tr.xpi
+        $_url/uk.xpi
+        $_url/zh-CN.xpi
+        $_url/zh-TW.xpi)
+md5sums=('4cd791482a790881bfae43785a5e57ed'
+         'e27236060bb83fe07874c4b9bc22f585'
+         '615477f7d240321aa9922169a87ee2b0'
+         '9eb3ff2426109560a5035267f5fc9ec7'
+         '45aa863e8468d7b78f53a5783b4c2cd3'
+         '5330aceab8a3f4cb1b176889d45f568c'
+         '9edbf1e06002fe53db10721d681620c9'
+         'e179e1ac183d128a32e2222a12a80d97'
+         'a0fa01dfdcb849bdc253601f31ec5294'
+         'd46efd5170e54b0a68e7a3447996a923'
+         'ab7bc7c39d4aea0844e284b85e93ee36'
+         '134cd7386797633fce2eda55133d7a42'
+         '1ef952d0fcd68ba3957094dd3341798c'
+         '8428f7caded1dc4f2cdc13291f3bd8b5'
+         'fa229f3ad7ce6d4da8380ed2057ecb72'
+         '36e1c8d3fb649cd4d113e11d7ab4120f'
+         '7ed844fe9dc667cf4fdf982a2cf06802'
+         'ad9625df72317d05a544a899c29b64f5'
+         'dbfbffc411513968aa6c7864df45a17e'
+         '6e96f22cc16e52ea29e3cc45c3dad14b'
+         '4375c10fb5a15fbd06cb5d0a416add83'
+         '63f2587f54dea4ec48554a5548078fc1'
+         'ba85345f68c9e00955938291c718297b'
+         '486fdf6a9263bea5103d5b4847ad3ecd'
+         'a715e7df1b286a7d333c654482de2efd'
+         'd9e921fdf96d2262650b173923387f82'
+         '6e3c96567c69200b71ab293d055aa07c'
+         'e9782ff8cab8afd6e8043ebe39ee0643'
+         '0209be717d578826586d9a2f605a4855'
+         'ed49cb2a5661e83200435d52b0399023'
+         'a30e3ec014ab35331bd0445d8a049cdf'
+         '2fe9a9bc81929080785a3b92c3025cc0'
+         '731a0785a7dca4a6fd27097e6b516760'
+         '884b1c9c8c27e2cc6c9e389a677c2d06'
+         'e50c4488e8d966839af10a0dcb291792'
+         '7625a38c4ec62c7ac2f90d57b6af02cf'
+         '47f91094ccaafe8abb04f6a8e8cff518'
+         '423fd1e6958c67098db2d374aa9324a9'
+         '24e7985238995e242b7ec1340a5ae673'
+         '3f39b494717de8105159b0ddfe2b6f83'
+         'c8efc3d0c20d209dbfedc9c8507e7928'
+         '0daaba359e4187781f8099d3a3cca0c7'
+         'b888dfa76d31de6d566d51f1eab3955e'
+         '044bbad0b2717eec774df14fac78ac28'
+         'd41f2f2d9ddbc9f01a4e4b2f96a109ee'
+         '32886d13daaa7da69ac8220929208713'
+         'e5e9337b3354ade99d9f686474c23b45'
+         '4fdb6f0b1b060eae6df4897a74c5b910'
+         '3e5b1956690381df81264afbddd63110'
+         '6997d241be84c7ba5f8c9fa8bf927ac9'
+         '452f5720d9f34c518d390698b513366e'
+         '658e330229b13ab74fc51983410b78b7'
+         'ea54c1fac893e6865d9f9735f7bd9ba4'
+         'bfc59ea0c5f033d820a927f0072456d9'
+         '46871c94bc05d83526bd544d0495d7af'
+         'e0bd12c92eb752a09ed73c823e04e8bb'
+         'b9a6f0ab50db22ad1663271eb377db42'
+         'c4aca19c9810c1ee9dce7a3897d502a9'
+         'fb57784532d16a50c6eef8f562f4750a'
+         '35359606a80f8191bf3baab4b76cdcdc'
+         'de9abcf4d676c35728920d6635e83dd8')
 
-md5sums=('6e426cadcdfad0d83ebbcd34b0776f99'
-         'cef03478c2b810e8132fd309fcb47749'
-         'ed31f15fa1270b6569c1f87e3c990ef6'
-         'c8f10c218a469b4a5bdc7bc761178774'
-         'f3b1acb080d16d6f3bf03c49cd6ce3d6'
-         '1d4648cdb13d0ad24c9b1d1337800bee'
-         '32466b484c7263646a442f69a184a265'
-         '6a6e3cc87ea0c06405c6aa6a8500e9f0'
-         'd387c9e250746ce86a56a98094992de5'
-         '36554c7e8dff07bf93620de348928091'
-         '0d57719157ca684053f1a537afc5fab0'
-         'af38a60f15ace681568372737a6a88ea'
-         'c07fdabdb7641753a54b12b5d5e62cbb'
-         '254d6631ea6cadca6e830a372ae13f55'
-         '48a33d233cb8603f630984ebf59b61c0'
-         'b7c6ffad3ecbb79f762497fdd644a4d1'
-         '0892636869f24d22d4987d1af2c26d23'
-         '24afb23eeb51bf6e125667e2e1346589'
-         'd8656a5a3caa798cd7ba93e3733fa421'
-         'e7221ffb252bd0be69e62a54c59e2f7a'
-         '6988700c0a5743b921b6a521350543c5'
-         'c69d0efe50a0647b54e9d2d238bb5c81'
-         '1bd35b086901f116b66ccb37f2ed3402'
-         '57f6652a909784c1a2ca029daa1f5f9e'
-         '8aa44f7b7712619fce6630dc2c235551'
-         '0c1cd1a0489abbfabbdcff163dadee18'
-         'e2108b145eba1e0825df43c1c53fba2b'
-         'cef220f59b998492c2b7e0b5d6ec15bb'
-         '71c5cd85353e4149bc3af6f0e1460c1b'
-         '68645c6faf4c5380d4990d909627e4be'
-         'b5bda04acfef655cee09e30b5b0ffc86'
-         '511ae67f4c5f3d36dbcb7e55156b577f'
-         'c59cf61f5663a4795fbad14ecfe844bb'
-         '0f824ec6f2f0789687ad7f50b2308052'
-         '4831f9944206a7afabeff13f8611e937'
-         'd5d5f936101e839440018edc3abc303f'
-         '382df3b3906497969336e3deac5b410b'
-         'd7db289339f8f20abbb9197b7fdb7f94'
-         '6fb6cec43edb16a16a5652c2893a2746'
-         '49f15e3e66a06a920546fa8329dda79b'
-         'de794b752034760945cf4d1da335879c'
-         '9d7be083bc7534628c1d0ddf3cb213cc'
-         'dc12c40407f9acbd8b288287a1bfd452'
-         '6c5898c27c125c7c5a095ec44b667b89'
-         'b4b029edee6f82cb80ebbae12cf98b9e'
-         'a3550360c48a7972fc8d5720ae8656c7'
-         'e5e0e7657c9708046482a2ceeb56390b'
-         '18e2cdec7614933cbc9511eecf2be3ff'
-         'f7e775424b2be4715284a82dae70d4e6'
-         '48c61ff1e45a4d9c1ef88bfa39ae965c'
-         'e5045d0cecbc5f6804fa4dd96a41a57d'
-         '3d40ac2e4a93192fa6ca4bf11ecb8676'
-         'c3876894858434a83b753586f044977d'
-         '138fbc570f308276ee47961543d4d2e9'
-         'a84619196551f6b6d7ce932e33ef5b66'
-         'ada0460d6af31963fb35155ff03057cd'
-         '777f722aeff3daa4f23213ca33eba034'
-         '87d1c21856b2a374dea3d8e9e9bd9cee'
-         '94ae5dc88f1593c9ed36d52401263e65'
-         '8ce4c94e2413d801d559b4a279134d43'
-         '9ccc9dca9fa5a932b1ee5add7665a58b')
-
 build() {
-  cd ${startdir}/src
-  for lang in $(echo "${_languages}" | sed 's|,| |g'); do
-    unzip -o ${lang}.xpi
+  cd "${srcdir}"
+  for langfile in *.xpi; do
+    lang=${langfile/.xpi/}
+    bsdtar xf ${langfile} || return 1
     sed -i "s|jar:chrome/${lang}.jar|jar:${lang}.jar|" chrome.manifest || return 1
     install -D -m 644 chrome/${lang}.jar ${pkgdir}/usr/lib/firefox-3.0/chrome/${lang}.jar || return 1
     install -D -m 644 chrome.manifest ${pkgdir}/usr/lib/firefox-3.0/chrome/${lang}.manifest || return 1



More information about the arch-commits mailing list