diff options
Diffstat (limited to 'abs/extra')
-rw-r--r-- | abs/extra/community/firefox-i18n/PKGBUILD | 234 |
1 files changed, 160 insertions, 74 deletions
diff --git a/abs/extra/community/firefox-i18n/PKGBUILD b/abs/extra/community/firefox-i18n/PKGBUILD index 7f65aa7..8e15f6f 100644 --- a/abs/extra/community/firefox-i18n/PKGBUILD +++ b/abs/extra/community/firefox-i18n/PKGBUILD @@ -1,87 +1,173 @@ -# $Id: PKGBUILD 36428 2009-04-22 11:57:51Z pierre $ +# $Id: PKGBUILD 97219 2010-10-27 21:07:01Z ibiru $ # Maintainer: Thomas Baechler <thomas@archlinux.org> # Contributor: Jaroslaw Swierczynski <swiergot@juvepoland.com> # Contributor: Michal Hybner <dta081@gmail.com> + pkgname=firefox-i18n -pkgver=3.0.9 +pkgver=3.6.12 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) +arch=('any') 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) -md5sums=('da750827ddf1aaa6c3b09fbb7ca4ebfc' - '3beb35aeb195552627394b7769f09c5e' - 'cc25e1dfe322e163edd453b54b18ed6c' - '3a24f88aed1ec222739909467d45c36f' - '458dc3b51d94dfb92180b6513da33768' - '6100761f50681a27ecee4b9d43968090' - '33f8922cf3f574ddfc40e350e09e1ee8' - '1aac80931215e85a9434821318322840' - '0fdce63787e71ade32f4150555db446c' - 'c40760c6b6ec0a5d43d708d175af71e0' - '8a861ec0bc928f7d2babb9c9fdac7afa' - 'b5318a854916e712a79f7d3022c82d58' - '5d82688be741219e4a2e884c27674d06' - '3b786beb412062770cf921b7dfc7c412' - '4c4913ba9e21903bc979ff2883256cdb' - '2fab4572520a5062d69815bfcde647b5' - 'd42995bda0f79edb8115f995e1ecf44f' - '7438e9461d20a65c13514ee340db4369' - '7be481c1595300ec83ca0632a0e5fd8f' - '6784c85f27219f04daecc2151a3ffa3a' - '479d5ab78dee9aa3b23ca14e39721034' - 'e98a62f1c4096fb471f8d858d01d044f' - '59fbe6d0584b5c6c0adff7d16ef8ea51' - 'f62a1d67104514da3aad97481e16e81e' - '0e43c81c9bd55c5feedcdcab2fb9c4df' - 'd2e1c28de1be2474ff42c54727cd8c07' - 'c78d170dca0d767c8d9bc31954cd2324' - 'dafc51a775d512e3b34601c2a2291f76' - '76e95f638d7499fe36e5db2aa4446fc1' - '2a12e9ed49515a3e4210224d37f325ca' - 'b904d86f667768c7554f7ac1630e2fc7' - '466ee82c40244cb0f3308798ae3ef1df' - '8e3ab0ac7127b9e651fa8150803d59fa' - '6e817a315663b926c4bcee48ef025195' - '67cb1f812b5e1ad2cd58d77e34e5e154' - 'bc22bb46828c4a929c1e2ec41b090c97' - 'ee4d58656343e0f0ee54e066d7e72451' - '9b2ac04cffc153a752b4ff6e000b2a29' - '329283f9e7a7aaa8a8e5f5ae7e62660d' - '13c5186b51ab3c5374620adf8e5c3576' - 'a2b1f79253729735ad2e59568144f1b4' - 'ccb9763952394717a8b5ec3dec877706' - 'e508856e25040ffb87e023de94dca70b' - '322eaad0dd48a464187000ea0be5362a' - '3632809f34b423ad3ba31077682bbf26' - 'fa15ae8bb4927d416abd3f1661dd4af9' - '5b8d7b418c477060a78f334d2928702d' - '3d5f4b14ae257ed03096757d6a05b217' - '4ad2c7aca6a890078f511bf4224e5347' - '18754e6cb9cee7b408702bd35cadeb0d' - '892701fea3cc09c4350f19ed5c9900ac' - '0a939cce9bbff751da5a1e006a26093f' - '1e3aeeb18c2958d81ee6eb4801aa9faa' - 'cb29c96ac0dd5ece19e78653e74da48a' - '9517325ea18e01007787b5e3210c776c' - 'c61320979392169249da20a48f81d2a8' - 'a2765b25542e7e4d43279f098ea97e72' - 'cc42c2b4151c5c41543507d5a4eb699d' - '195bb042493f8dc4bda09a66c8a2f49e' - 'fe36d87eb352e46459b3c2cc01c4dc2f' - '2b73195d3c12fb8ebfd39f30267d3e64') +_url=ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${pkgver}/linux-i686/xpi +source=(firefox-i18n-$pkgver-af.xpi::$_url/af.xpi + firefox-i18n-$pkgver-ar.xpi::$_url/ar.xpi + firefox-i18n-$pkgver-as.xpi::$_url/as.xpi + firefox-i18n-$pkgver-be.xpi::$_url/be.xpi + firefox-i18n-$pkgver-bg.xpi::$_url/bg.xpi + firefox-i18n-$pkgver-bn-BD.xpi::$_url/bn-BD.xpi + firefox-i18n-$pkgver-bn-IN.xpi::$_url/bn-IN.xpi + firefox-i18n-$pkgver-ca.xpi::$_url/ca.xpi + firefox-i18n-$pkgver-cs.xpi::$_url/cs.xpi + firefox-i18n-$pkgver-cy.xpi::$_url/cy.xpi + firefox-i18n-$pkgver-da.xpi::$_url/da.xpi + firefox-i18n-$pkgver-de.xpi::$_url/de.xpi + firefox-i18n-$pkgver-el.xpi::$_url/el.xpi + firefox-i18n-$pkgver-en-GB.xpi::$_url/en-GB.xpi + firefox-i18n-$pkgver-eo.xpi::$_url/eo.xpi + firefox-i18n-$pkgver-es-AR.xpi::$_url/es-AR.xpi + firefox-i18n-$pkgver-es-CL.xpi::$_url/es-CL.xpi + firefox-i18n-$pkgver-es-ES.xpi::$_url/es-ES.xpi + firefox-i18n-$pkgver-es-MX.xpi::$_url/es-MX.xpi + firefox-i18n-$pkgver-et.xpi::$_url/et.xpi + firefox-i18n-$pkgver-eu.xpi::$_url/eu.xpi + firefox-i18n-$pkgver-fa.xpi::$_url/fa.xpi + firefox-i18n-$pkgver-fi.xpi::$_url/fi.xpi + firefox-i18n-$pkgver-fr.xpi::$_url/fr.xpi + firefox-i18n-$pkgver-fy-NL.xpi::$_url/fy-NL.xpi + firefox-i18n-$pkgver-ga-IE.xpi::$_url/ga-IE.xpi + firefox-i18n-$pkgver-gl.xpi::$_url/gl.xpi + firefox-i18n-$pkgver-gu-IN.xpi::$_url/gu-IN.xpi + firefox-i18n-$pkgver-he.xpi::$_url/he.xpi + firefox-i18n-$pkgver-hi-IN.xpi::$_url/hi-IN.xpi + firefox-i18n-$pkgver-hr.xpi::$_url/hr.xpi + firefox-i18n-$pkgver-hu.xpi::$_url/hu.xpi + firefox-i18n-$pkgver-id.xpi::$_url/id.xpi + firefox-i18n-$pkgver-is.xpi::$_url/is.xpi + firefox-i18n-$pkgver-it.xpi::$_url/it.xpi + firefox-i18n-$pkgver-ja.xpi::$_url/ja.xpi + firefox-i18n-$pkgver-ka.xpi::$_url/ka.xpi + firefox-i18n-$pkgver-kk.xpi::$_url/kk.xpi + firefox-i18n-$pkgver-kn.xpi::$_url/kn.xpi + firefox-i18n-$pkgver-ko.xpi::$_url/ko.xpi + firefox-i18n-$pkgver-ku.xpi::$_url/ku.xpi + firefox-i18n-$pkgver-lt.xpi::$_url/lt.xpi + firefox-i18n-$pkgver-lv.xpi::$_url/lv.xpi + firefox-i18n-$pkgver-mk.xpi::$_url/mk.xpi + firefox-i18n-$pkgver-ml.xpi::$_url/ml.xpi + firefox-i18n-$pkgver-mr.xpi::$_url/mr.xpi + firefox-i18n-$pkgver-nb-NO.xpi::$_url/nb-NO.xpi + firefox-i18n-$pkgver-nl.xpi::$_url/nl.xpi + firefox-i18n-$pkgver-nn-NO.xpi::$_url/nn-NO.xpi + firefox-i18n-$pkgver-oc.xpi::$_url/oc.xpi + firefox-i18n-$pkgver-or.xpi::$_url/or.xpi + firefox-i18n-$pkgver-pa-IN.xpi::$_url/pa-IN.xpi + firefox-i18n-$pkgver-pl.xpi::$_url/pl.xpi + firefox-i18n-$pkgver-pt-BR.xpi::$_url/pt-BR.xpi + firefox-i18n-$pkgver-pt-PT.xpi::$_url/pt-PT.xpi + firefox-i18n-$pkgver-rm.xpi::$_url/rm.xpi + firefox-i18n-$pkgver-ro.xpi::$_url/ro.xpi + firefox-i18n-$pkgver-ru.xpi::$_url/ru.xpi + firefox-i18n-$pkgver-si.xpi::$_url/si.xpi + firefox-i18n-$pkgver-sk.xpi::$_url/sk.xpi + firefox-i18n-$pkgver-sl.xpi::$_url/sl.xpi + firefox-i18n-$pkgver-sq.xpi::$_url/sq.xpi + firefox-i18n-$pkgver-sr.xpi::$_url/sr.xpi + firefox-i18n-$pkgver-sv-SE.xpi::$_url/sv-SE.xpi + firefox-i18n-$pkgver-ta-LK.xpi::$_url/ta-LK.xpi + firefox-i18n-$pkgver-ta.xpi::$_url/ta.xpi + firefox-i18n-$pkgver-te.xpi::$_url/te.xpi + firefox-i18n-$pkgver-th.xpi::$_url/th.xpi + firefox-i18n-$pkgver-tr.xpi::$_url/tr.xpi + firefox-i18n-$pkgver-uk.xpi::$_url/uk.xpi + firefox-i18n-$pkgver-vi.xpi::$_url/vi.xpi + firefox-i18n-$pkgver-zh-CN.xpi::$_url/zh-CN.xpi + firefox-i18n-$pkgver-zh-TW.xpi::$_url/zh-TW.xpi) build() { - cd ${startdir}/src - for lang in $(echo "${_languages}" | sed 's|,| |g'); do - unzip -o ${lang}.xpi - 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 + cd "${srcdir}" + for langfile in *.xpi; do + lang=${langfile/.xpi/} + lang=${lang/firefox-i18n-$pkgver-/} + bsdtar xf ${langfile} + sed -i "s|jar:chrome/${lang}.jar|jar:${lang}.jar|" chrome.manifest + install -D -m 644 chrome/${lang}.jar "${pkgdir}/usr/lib/firefox-3.6/chrome/${lang}.jar" + install -D -m 644 chrome.manifest "${pkgdir}/usr/lib/firefox-3.6/chrome/${lang}.manifest" done } +md5sums=('a9e856f59cc98243bb3427dea7f8203c' + '8f83a7a46e542d9382fbd2276f7715d9' + '5e1eff96cab9e696808d2eec169f65a4' + 'fcb558c1ef002ba27cdbfd92eab77113' + '5990e51e41d1809f7df568a159d36563' + '1c157c96503d372352d021cfb4e5a26d' + '228f34463da55cfaf914d6650a3591e3' + 'ea647ff95e200f4693394ed058ff1511' + '7f64b1635d6df2f311a753ab22ed29f9' + 'd477ced18456c7fb78b79218035777c0' + '11dac124f5d61dbea85d4de167c455c0' + 'e12d3c009a199d3b058454e4f0ea4965' + '70d862d0b3cd88c394af788305dcf3d3' + '7f884a083e7528799b409d774d5ca9f4' + 'be94d4d2e8351050e0dd71ff532334dc' + 'a328f6f1169be7079ecbd789792bd2b0' + '46f68931eb222322666200a397a21fe4' + '8b136816340f06497380d98e4b57d1f2' + '9a06e45201df0219545604c0d43711a8' + '2694bb693468b0e297aa05ed99171da5' + '8d4589d4e85b92b30bee3a36d7605929' + 'd5004f8616eabfca8ce7093913929057' + '3539c2245310714e909e56b83c7d66b9' + '0cf720e65a672d75c85ec80337ed2f97' + '8e998d2e80236bbe9722e39b3ab26c9d' + 'ad5fa54233d56ef916c31ee70ac7eaa2' + 'fcdaa9c9e6ab5ce60dc62c966c409b5c' + 'c52ce7127303583a98794ac636c02e89' + 'f58157014a2e864f86b1d81dff397d33' + 'cc767c20778217cbc0cc59060f39fec5' + '25ce3827a679913fa7e3be1f15d87dcc' + '83b5a433b653e6e6022b8f8e06d41a13' + '361711b116a5d9d68e1ef7aa4ab427c7' + '04d96ad34a7eebc3aa6d0dc5faade2e9' + '48eb2be6089487a5842bc937a9ee8756' + '561eaca03538fc766127264b9d6b9a0a' + '119b2c3b5822f945a4a1a3f7adae6802' + 'da35cad95d3a5bddf448aee9d5a385be' + 'd75b4b5eece0d6e3ffe0b375d62dee15' + '5a9ce9b90d4db4908be9c9d0a4c4bfdc' + '780eba27ee86aaeb394a8a4262443a49' + '3ff978951b66a8c2259dd596ee59234a' + '83bc2e8c22009e2456efdd7d80fbd7e2' + '76df19d4a952b323012b0bd70bd2b341' + 'd587942ac2771ec8534125a145a2ada2' + '0700e028d529ee8868f601b8f2cebd30' + '66e78df39d54b098d6ae77164953615a' + '85f1c14e0f40ff35ef645bdefbd005ef' + '1deb37ad8a067d791dbf741b41f4a07a' + '012a5e7e046bc8d473294719431fb2ef' + '486ed3eb31fa3c80df7eb3425c052d9d' + '4faac1d8c90e47c7f8ec157030648163' + 'af19a2646c97ec9ad8b7b8c51ce4b73c' + 'd9fe3b2fd45812e5943f81955dfeaadb' + 'd97b22feaf13ed10c0138d36cc6daf91' + '9281119378989b44a6d86de26d605cd8' + 'cb610ceb92be6f08d8399652a4aa6159' + 'e5c26bc98613399efbc6c336746c6fa2' + 'af6678e87cb26a59415e9ed311874ad1' + '7dc8ea6fb9ba15c5ee366c9a93a31087' + '1bbe680ce6af3e196a35622deb6a9de5' + 'e031a4ccb6b0fe4272c666a0162df7e3' + '6f6b27a57e21b7f1130edc6e687b75b7' + 'c6e5c90dce8f3d80c2443b25ba75ea7e' + '4a01b86c74ec94abbd44d15a6c1003e2' + 'dade5a4e6ef7357b83e38b693b88bfd7' + '419c7f1e940730ac5a8cc353a923e09f' + '6f5d52f68051c1635d919e22a2666798' + '6faa1dfd7f7230c7b88970e924b6f2d8' + '936ebaf3ba6ead7707efc26a84806afb' + 'dd1ff50cda4d629459120f077f596483' + '5563b66dd73b9ad3abb0b7f406ecc3bb' + 'ab1500dd405915d799026cc455a2bf29') + |