diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-08-26 03:40:39 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2015-08-28 18:37:20 -0300 |
commit | 7df7f9281ef9b449f54ea37270aec6ef973da841 (patch) | |
tree | afb003299840944aab9fb83ad5a7288d83b24473 /libre/icecat-l10n/PKGBUILD | |
parent | a5885883426b91698e3ba22dd39ed40ae751e87c (diff) |
icecat-l10n-38.2.0_gnu1-1: updating version
Diffstat (limited to 'libre/icecat-l10n/PKGBUILD')
-rw-r--r-- | libre/icecat-l10n/PKGBUILD | 224 |
1 files changed, 139 insertions, 85 deletions
diff --git a/libre/icecat-l10n/PKGBUILD b/libre/icecat-l10n/PKGBUILD index b176d542a..bc15d0f2e 100644 --- a/libre/icecat-l10n/PKGBUILD +++ b/libre/icecat-l10n/PKGBUILD @@ -6,9 +6,9 @@ _pkgbase=icecat pkgbase=$_pkgbase-l10n -_pkgver=31.8.0 -pkgver=31.8.0_gnu1 -pkgrel=2 +_pkgver=38.2.0 +pkgver=38.2.0_gnu1 +pkgrel=1 pkgdesc="Language pack for GNU IceCat." arch=('any') url="http://www.gnu.org/software/gnuzilla/" @@ -22,17 +22,22 @@ _languages=( 'an "Aragonese"' 'ar "Arabic"' 'as "Assamese"' + 'ast "Asturian"' + 'az "Azerbaijani"' 'be "Belarusian"' 'bg "Bulgarian"' 'bn-BD "Bengali (Bangladesh)"' + 'bn-IN "Bengali (India)"' 'br "Breton"' 'bs "Bosnian"' + 'ca "Catalan"' 'cs "Czech"' - 'csb "Kashubian"' 'cy "Welsh"' 'da "Danish"' 'de "German"' + 'dsb "Lower Sorbian"' 'el "Greek"' + 'en-GB "English (British)"' # 'en-US "English (US)"' 'en-ZA "English (South African)"' 'eo "Esperanto"' @@ -43,57 +48,79 @@ _languages=( 'et "Estonian"' 'eu "Basque"' 'fa "Persian"' + 'ff "Fulah"' 'fi "Finnish"' 'fr "French"' 'fy-NL "Frisian"' + 'ga-IE "Irish"' 'gd "Gaelic (Scotland)"' 'gl "Galician"' 'gu-IN "Gujarati (India)"' 'he "Hebrew"' + 'hi-IN "Hindi (India)"' 'hr "Croatian"' + 'hsb "Upper Sorbian"' + 'hu "Hungarian"' 'hy-AM "Armenian"' 'id "Indonesian"' + 'is "Icelandic"' 'it "Italian"' + 'ja "Japanese"' 'kk "Kazakh"' 'km "Khmer"' 'kn "Kannada"' - 'ku "Kurdish"' + 'ko "Korean"' 'lij "Ligurian"' 'lt "Lithuanian"' 'lv "Latvian"' 'mai "Maithili"' + 'mk "Macedonian"' 'ml "Malayalam"' 'mr "Marathi"' 'ms "Malay"' 'nb-NO "Norwegian (Bokmål)"' 'nl "Dutch"' + 'nn-NO "Norwegian (Nynorsk)"' + 'or "Oriya"' 'pa-IN "Punjabi (India)"' 'pl "Polish"' 'pt-BR "Portuguese (Brazilian)"' + 'pt-PT "Portuguese (Portugal)"' 'rm "Romansh"' 'ro "Romanian"' 'ru "Russian"' 'si "Sinhala"' + 'sk "Slovak"' 'sl "Slovenian"' 'son "Songhai"' 'sq "Albanian"' + 'sr "Serbian"' + 'sv-SE "Swedish"' 'ta "Tamil"' 'te "Telugu"' + 'th "Thai"' + 'tr "Turkish"' 'uk "Ukrainian"' + 'uz "Uzbek"' + 'vi "Vietnamese"' + 'xh "Xhosa"' + 'zh-CN "Chinese (Simplified)"' 'zh-TW "Chinese (Traditional)"' - 'zu "Zulu"' ) pkgname=() -source=('region.properties') -_url=http://ftp.gnu.org/gnu/gnuzilla/$_pkgver/langpacks +#source=('region.properties') +#_url=http://ftp.gnu.org/gnu/gnuzilla/$_pkgver/langpacks +source=('brand.dtd' 'brand.properties' 'browserconfig.properties' 'region.properties') +_url=http://download.cdn.mozilla.net/pub/firefox/releases/${_pkgver}esr/linux-i686/xpi for _lang in "${_languages[@]}"; do _locale=${_lang%% *} _pkgname=$pkgbase-${_locale,,} pkgname+=($_pkgname) - source+=("$_url/$_pkgbase-$_pkgver.$_locale.langpack.xpi") +# source+=("$_url/$_pkgbase-$_pkgver.$_locale.langpack.xpi") + source+=("$_pkgbase-$_pkgver.$_locale.langpack.xpi::$_url/$_locale.xpi") eval "package_$_pkgname() { _package $_lang }" @@ -109,8 +136,19 @@ _package() { unzip icecat-$_pkgver.$1.langpack.xpi -d $1 rm -v icecat-$_pkgver.$1.langpack.xpi + install -vDm644 $srcdir/brand.dtd $1/browser/chrome/$1/locale/branding/ + install -vDm644 $srcdir/brand.properties $1/browser/chrome/$1/locale/branding/ + install -vDm644 $srcdir/browserconfig.properties $1/browser/chrome/$1/locale/branding/ + mv $1/browser/defaults/preferences/{firefox,icecat}-l10n.js + sed -i '\|firefox-l10n|d' $1/browser/defaults/preferences/icecat-l10n.js install -vDm644 $srcdir/region.properties $1/browser/chrome/$1/locale/browser-region + sed -i 's|Firefox|IceCat| + ' $1/browser/chrome/$1/locale/browser/devtools/sourceeditor.properties \ + $1/browser/chrome/$1/locale/browser/devtools/toolbox.dtd \ + $1/browser/chrome/$1/locale/browser/devtools/webide.dtd \ + $1/browser/chrome/$1/locale/browser/devtools/webide.properties rm -rv $1/{browser/{chrome/.mkdir.done,searchplugins},chrome/{.mkdir.done,$1/locale/$1/global-platform/{mac,win}}} + sed -i -e 's/firefox/icecat/' $1/install.rdf cd $1 zip -r langpack-$1@icecat.mozilla.org.xpi . mv -v langpack-$1@icecat.mozilla.org.xpi $srcdir @@ -119,81 +157,97 @@ _package() { install -vDm644 langpack-$1@icecat.mozilla.org.xpi \ "$pkgdir/usr/lib/icecat/browser/extensions/langpack-$1@icecat.mozilla.org.xpi" - - # Fix a few broken langpacks - # https://bugzilla.mozilla.org/show_bug.cgi?id=832060 - if in_array $1 bg csb; then - pushd "$pkgdir/usr/lib/icecat/browser/extensions" >/dev/null - unzip langpack-$1@icecat.mozilla.org.xpi install.rdf >/dev/null - sed -i '/./,$!d' install.rdf - zip -u langpack-$1@icecat.mozilla.org.xpi install.rdf >/dev/null - rm -v install.rdf - popd >/dev/null - fi } -sha256sums=('fc301f3ce1f7d7cd995c7920af18f638e7dd40ade90318567c2bdb922d9cd11a' - '75ad3b6f73afc0186046b042fdbea35962e0da5d621f308783b7cc4b6bab4797' - '3a142028e90b4d10ce2458753a3a1d22aaf540edc4dc3fec1fa8eb3daf8214c7' - '954346d995584eaed081f758ff310480662ea6baaa3a913867f2a2c3dcb82271' - 'fae24a79b1a76379e651f14825ebf40a91c19712a8d267f5bd474650162877de' - 'aeb33ce69aeeeb8b2d0058899bd074177bedbf765156c4d751185edad306b5a5' - '2b0401a81f61f1fd900536a38c30d9d7f2ee0a6709f58e9281e12e48b8bb20b3' - '6e926d054be858e15c313eb812dbe74c5a75aa3257ca693f255a0ee624bf6a01' - 'e29fe7286beeeadced4bb644b748c638ad32f3f791d223aebaf83d0ac2a4abe2' - '2e7d5ce6e316eaa82506e221e27ba2b785772233011ba1dcc25ff5b693bde9dd' - 'f44e2efa9e8314affd24e29f7f639368fe43e91458be0433dd1121b1dfbc27b1' - '72aea1b22dd86d09db2647a334c0619efb77774a17bed51f862b60a753ac2e65' - '125f09b878ae949ac1db0f6686fc534fc2e52f410aee8538b3497c751ba24ac3' - '52092eee647f47e2ccd7bdaf17fb0fdedce141e4419a45a09601e57a3bc1f4cf' - '027bfa25fbda15af04e5c2965b229ec42d4cb30e203108113aff3895cfcd2d60' - '214d9fbd76ce5e4bf247938761e52219ba6370ef23504467d35ee72ab27118d7' - '554386360ed78f128b8f9e5d781decdc22c43f0b2da2eca51a12017a9575e8c3' - '60f5d85b1b6036654b5e141c019e23073e49d95e117cd3e48a83c35a45e0bea5' - '6ec862fd24b66d0e1adb3afac2304f6fa3bb2d2ccf7ce98ed96908f7125cabd1' - '087d7c85e46825e459569d161646cce867e58accbbfe097cc3296084c29d7a69' - '60b86ff5c57c57aa941347278c7a52307241d50bac72f862f68a7b118b47d524' - '70d67287ac89a539af34e7e88e9fcae80b678e4a919d9dbc772d7711712de313' - 'c405258d7fe875ebf8c9486cc7144863d2bc42f382b91a900e9be0a500f7092d' - '0358cabd6c25674981e0f1f564bbe7491bd8b47834703b1afdc9e52be8bf7c44' - '6f6d83d62c7e9b5135b0dd85e33fb0657a638009281e9932c88f1780dc67a24b' - 'e9e781536b446ac6c801dfb00139d682be3f05f9c14280107fbbdffb4ccd942e' - '1d2fb1b81338ac6fc7a552ff809f587a8c5268c74b1c495e06e65be86045393d' - '8a564feec6669fe79d6cec92bb2f07b3e92ea0d718e58b5e40237e20c117057d' - '2aee274220f409b3210d42d955a9c00811a93513f2e1d9707d82f7a04472024c' - 'bb5d3e3381e0339141f0c0bf57cd18d7b59da905412cc44d730a546ff6388928' - 'bc8d1837532c4b5ca62d251113bffbb166cb3a6a8b9218bf168a9efe2234a760' - '31eb7b0305c50788a2a744d936d5644277d9dcb2c4bd7c4a25bbacf4165f73c3' - 'b0274ad9951e13908b811c09048b48e96f1a0486044b8b6bc7f344d41a9d1112' - 'a6307333f1918be9c1985a25a768d533c2d9417088729d967842141afb83d08b' - 'f4b5a3099f7d507ef70f0537450ba4f0d1f383c9c7a99675606b914387e22c93' - 'e310c7a68283a3160b705bac8c64f59257e3cf552d0755e1ebb2694d551912f8' - '404626f0cf706db523426ea65e7cc2e101d25c859ba31b4faf23a5d191817156' - '0b343af40d361ea6209a4399e6ead0b250126aec42bd3befad0e5dadf4d55ea9' - 'e88473d92936c4b4c86988af32ea8ac2f6132ab1e9335920a6cc11b03bf728c1' - '460fe08777455232e020b699f0da51511e9b62575082cd2ddcf5b934fcd99c2e' - 'bc5ddabeeaaa960f4e9a8a2ce0a33e656bf7a6e158c830e38e2c72260297c6b8' - 'ddd71a5a90525242eaec80ed426a4d2c7c1577cd7db2eb3edac07acb85b0a89c' - '7e9039fa356260ab2e2fbb5ae73f6503cb102f46ccd70c1922cca1ce495b0b94' - '45443c64b216b476d7fb9bd0a03aa4069718e93b093dd6cf0e3090b600704249' - '3da5559ec7f5ffaf7b9e8e1e62f234fc63916a6be35ca8d5efa7857332c2ab8f' - '97c1e100777099c38daae913d87c567554bac1494c588d478ec1fd03d37adde5' - 'd7fbd96680a31480a70fc1fcfb7f84836dad45fa57ede24d2ad93df2e26e9bad' - 'a9fc5ed350a417c38ecda39623502f2901a095377c3f8995a28dfe55ce21ab52' - 'fdf75ce2838af444dc737508e5262fd8575579d5d73b0467408d1e0dfebdbf41' - 'e2f03f67cde25c89d25ca5fa5c565a91f5ebbbe912642adc4edb955b1acc7849' - '1d5797102d9610ec4faf05d6cfb7f05106286f172a44436cdbfcc4c4c7d90759' - '3a7caa3a58af708135c996603fa35a46b3f7d12a397bdda971963b8ee37f14af' - '1319e8db747e517af71c63f7e80b4ee55137c362f38477c30fb9bb3734a1e2c1' - 'aa990edb911c633f09a73e797cff60d2a5bd3b227292cd6acb6b36f80e67721d' - '868a8497cfe0e4a1bee49a9cc02a2854b4f79c956d2aebf08265bd929a479045' - 'e34ea94c89892b41493d3806cf9e689aa302dde4d0a8041041a14fd8137c0904' - 'a152e417463079522db77332b3e54cede90cb737955e1ce3d507e2e6e36f0e6e' - '6b13d79a8b3e1b6b875359aa968bded50c2f6fb68eb6dbfb895900f8071ea732' - '0b8f105e853159e035dfd5eadceb822bdc33db403b57ea1bdc20f9705bf904ca' - 'b417b141277402d55f32bc48b27911d08a381b7c68381dcd9de3ab3e80a10369' - 'a5b0fd320a65b7c58080d92e184c8ce33e3e706001f68045d09ff6051fd51f7f' - '695700e5485182d1dc56287245bf9815dafab8e8024b1c3147319ee8c42530a9' - 'dedc2d4bd1ac97bbd4070024c1a4a061e914fae755fac8069881669cc46095e9' - 'ac7ed07c661e21ddc39095da7b74bab6254031020bc42c30cd1dbca24242139d' - '767fc108f5d963e80bdc551773d54384c6ea02ecda6956fca97f23b65cc2af46') +sha256sums=('c57f9d372f056d79b074976a70d3f8b99ec9379eedd9b7a4ec33608b002b9af9' + 'ce4530dc72a4c01db088b46e7018a29a87fb8b719e6a640c4c97ee0793d8190a' + '9f9a8b54932b3138d15fb050a6b04e574fc018d6acb2b7f23b1a9425513d416f' + 'fc301f3ce1f7d7cd995c7920af18f638e7dd40ade90318567c2bdb922d9cd11a' + '80f2d65db6ba7c1079e36d4540c5364dadf50ee5cc00cdd1f4fe505915b12ef9' + '4d822352bd0dbaa73dd547602e20ccdccb62b3ef9bdeccc03f172511e18b41ed' + 'c58525c2b8bca44c5242e15a3597d3c5af89cbd227a2f37dec0cc64b777eaa2c' + '5e5e573f9cf9bb050ac9e94311887b83684c9933c8ba36021010b093b69c667b' + '690987405cf31ba44a2bc52a040f79e07bdca5e1a68bccb65a94f608dd32a168' + '81ad42dce9d9525aa2d4339e928d5675d4f069b46deffed0c1afa7c29f7b4586' + 'bb1b9b3e7ee14cf447780807ecda9789d696e83a6ceaa83a3f455025462976b0' + 'f025e13585be2126f1f805f431a2aab6f92064970a5d3ecf8e458fb35fcf1b04' + 'd566656889a8922a88bab1a06fcf6e49f1131cc7ebc53aa19ea9b177314a7003' + '1d8a734901cfc8f4a3372ae7586e6615a044757faaa43d0102d687465a7d8646' + '7a6e05c0eab890318718b014402168f30e2593a63cbd639b1dec9bbf88e74b30' + 'e5bc879e345784c9b4d9228a3e8900b4ffa4e643f01546db80cb4d9e11049a34' + '0bf5d0e162a33a5ef6ac3059a5b713d88fff367f7384ad56a594ec07aafce358' + 'd2aaebad9dd838e9cb6aa4d5fcc45cfb2105cd655671455fd5a360ca43302842' + 'd3f1fe4b368d1f30cf93f6dba98af57491f2f23df1754edfc896aa7aef7bab8d' + '7ab25f18ca0e267fcbc30503f47162319a5c1c08e1bc03518bab04c2c8fe59c2' + '23147921fc13063f39818bc2d563d4b07b0a5ab466000d9405fd9b9249e67663' + '6d4cdaa88f41cc5feaae869db51684d85b1b1d6026ba9309c0572261828f8c1b' + 'ff71942cac9c2548caa8f12df7005b5b9f91264f5b7da7360a99a088c4528440' + '24226e706875c0f1c1b18c4f2f55fb83e5963c3e22061a2af436d92e8b66ae29' + '2824d85c15ff1a0ee6bd69228dec418481c9a7c4565beb5b45d0428e0b6f127b' + '7b103f2e7472388b6fea50c602a5950404e9d297a8ede752e04e93fecce4cc1a' + '7c41dc63256b9ae615206cecd5bf008879443791b03269e1d4dfcbb0b6e73fb9' + 'fede8e15d08da232349fd180b17d208d556de12fcb37a98a59362773e67ceca1' + '5957a2f6db01d593b6d82149f1ecd6b129e5322f74a254ac46d07503719e61c9' + '2da47c5401a9e60c84859bd28635cac8bd03d07cfc0d25ffd2fed66819d060bb' + '0d396f5f5ea77920d7273fe4dd3662b08997657c321fb7ae62c9406abd9135e1' + 'fac02f932ee8c93c660daf2b36ca6a8246724dfa5ac040809e6d88eb219b7a03' + '492ac55eceaff28188516c154e738d4189615135e4434cde7d4108c6c92200a2' + '125f97265b11efa49886c6ca9611b6cdedfbaf40ac59fa7ba2f5d86308dbe4e9' + '36e58433af2939b69d461a4d21f8576c2773ab926f95e9742fcfa28c4b8155a9' + 'e56a3252d800bdc5ad2c18badf8a1a6743e7aa4fd29f459a339ef05a26614272' + '959138dcce85fd35da81fc9a1ddc28bfb06435f9a71fa1f2a2cf0b44978cdf70' + '3f86674161098d9446ea0736969c0d030eca100688880921daa8e615a9410e38' + 'bfb2eeb0c787ff5ca2afec939f4da875eb854bc5baafcd61021b2d0a4db4456b' + '8acb2f0a4416f8ef182abcf6450e9169852524c0fbf37dbf15cb5156273eec8c' + '53ecc5c4d83346d327cfea3ed8554b468f9ecb17daba0ee655268a3d1a23d276' + '33799f5f28c4b6fd80f5ecb5b4ac1ff9ebe34461e50c59151d029053f1f73d53' + '98f05fde9c1341b7d32e196660884fa24c266575374aa8fb26859f5fa75b7b46' + '3a9480cd2345f00507ae719c33185acf5e9f66a9c996607dfac0ec95d0d32d89' + '125abeb8f4a881fd68bb8f8bd31d7b89c98d35f3d04e18ade625a74e45723466' + 'a88449a67fdb85b21e031b894fc060e328c42a3ac1a39d13fff8446cc4df00d1' + 'd37fc8e422a2421829665a13c7b39bc18af76afc22639395fe346a3540a360e1' + 'ebdf5d14d7b97eddafe6fedc3b7b58b4823e2ba7e9f019facc65c469a1c0538b' + '861b0ee5cd7130606f8db16d16855a932f62d18ea279aeb425d13043b88afecf' + '17f205a9d775e3a97ea3d7b63ee931f4cf5bb24089978fc979dc4d1b5d057311' + '1da955c3cb53ee2fdbf03454840f2588ec3731b88d5ea31e450c4473eb7c0c8b' + '1b51688caa1e55b2117fe510d31485a3219c3f4446e3475c87699abd460e84b0' + '9a445773926e5abf3df7ed1e4ace90e52c17ffcfc65e76bc81b14ce3f9a47910' + 'fbff5ab8dae477e73725de8f1ee346287aede8c00b6891dbb11d4500b7e6620e' + 'd8756e4efe30cf21178d51ea7186d0bac4980a10fbfb29534d0e3988859d2997' + '19f3413cf7c9e0deaa025d254c8e787f2e2d3dbe0c800841d69f87dd02249b30' + '769ad5652416a94c038f1df689532c35cf00804e7971f7d0bfa7157ebc24e95d' + '692e7fb76eba7b2926300e2ae12dd1215c4010722cd95ece2893556ce1729ff5' + '0e7a1903ee292b3bacf00a876bce9618a869a708820bb04cc4487536b7a09590' + 'c51b1627c24c48721cf799e9438d097d2b815e576042813a15d7631285385499' + 'e4be6327448665795bc83a5de98826bfbc78118d188e7687546b5b5d170a1e3a' + '6aa7b005affd7cdc10d9c42454e841d94ecc94bec273755ef9754e033a3e62be' + '73bb6c2101dfa7876814c68b3b02467608c72e0e8bc3517aa0fec61673069bba' + 'f4f68fd8871ab409f9d3d0540873167e693314278a16508450a359d9cafdfdc3' + '8056a9169fd52a12f8f806f1e2870a2578591df8a2c711786bee7ce84436dbfa' + '5dd497dbddcc664facae77de25b8b3f4e3c87a1747bc44595dd91b716ba82748' + 'a7371d8b484cb686965b3769f0bedf6c8803bbbc05021c8b3e24d99dfe66348d' + '79db2dab58df83d308c614469a7050d3228898fcb2edfbdb9eaf66d37d541719' + 'cbfc04c1b6dd2de9f87bca693b4de8275ab4860cc538c0d7a60fecb58b88c6dd' + 'f7f312ed6907c15004e75cfb95a0e254087932cf8203b1d0419dc1eea055a9c7' + 'd13fcef16af096732c430b699a53b1d0d76eb3829bff5166d876ffcc94e123e7' + '9cd4c26a521f2e0550ea62ddc27ca751a2b3f2fdc6d55af861936abcdd6c1efd' + 'cf88953513fc4b20a5318b3d4e8f771edc7dc3ef3b3b09a8858ad1b9261c0866' + 'd5151574b477c6964461ae75563397ebc8f11dfb9331e2ffeb046a4bd046ea97' + '0289531702f0e2ad68984a9dd939e67dafed98eed7c1a6552d136d759ed74684' + '314d1635548bbfd7f41927cf327c781d03d99b8ed1a2c8775a34ba6cd3b12a85' + 'd40e11bda881fa9703e51065bab7204bc5dad8d4affedd4638cfe96f907ddf07' + '8ba7277af23a615970cc1384d3b54e8d88a3305da9fe03790819e7b1aeb41a15' + '3709b10419d813e3255ef9022e276344ca90788c33858aec111c541b455bb79a' + 'fdc0e581d870726728aad45980c6f10d4141a0b9fa39424e51335c8751063e30' + '6007a48742b675c34bd8a331c201f79a19cb52fe7dd7907cd73e76ff9d0c090c' + '21158bf5a1286bc55dda4e34ef00fecf5490c55da61dfbb8de8a8f15f6c3fb95' + 'ec13ec46f071219815b200ab46f103ebdca82308187562d57ae9ae01a9c234e8' + 'b1ffd8fa3534f51d3ec9294288223898d8c41285c4fa400e096fc7ec1aff8b0b' + '0e15637fcefb0e16c4722c242466d2f67b18eb0fbe79097cc29e5358cf7aa19d' + 'fae94efd727ddd145146d2df759e02e060e8302c666ea6cb2d09558bdff76abe' + 'd9871bbdffe5f9cf5275894c05a7934a21af421c3343844fb5efa78efa06aaa8' + '3c5ff9e17debf3c7d865474262aad09c5e7d98106ecb6395d656caee27c39b61' + '9e7dc043c3aa7890255241bdd0292a01d957fcb77434ed236df07401e3f7a9b2' + 'd41ee639470dce1ff3a103987c16ad5dc32c3b1f468760855d9c840dfbc0a39d' + '6b58c8a6fd5e62933d8ec42758a6fc7dd4794b7f659855331debc876e8b80bec' + 'bb22672b52104fd11c28d5609d2c039dd0b3636445b091523dfb90538cf84e94') |