diff options
-rw-r--r-- | libre/icecat-l10n/PKGBUILD | 217 |
1 files changed, 107 insertions, 110 deletions
diff --git a/libre/icecat-l10n/PKGBUILD b/libre/icecat-l10n/PKGBUILD index bdda36969..1d0aa063a 100644 --- a/libre/icecat-l10n/PKGBUILD +++ b/libre/icecat-l10n/PKGBUILD @@ -8,7 +8,7 @@ _pkgbase=icecat pkgbase=$_pkgbase-l10n _pkgver=38.3.0 pkgver=38.3.0_gnu1 -pkgrel=1 +pkgrel=2 pkgdesc="Language pack for GNU IceCat." arch=('any') url="http://www.gnu.org/software/gnuzilla/" @@ -109,18 +109,18 @@ _languages=( ) pkgname=() -#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 +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+=("$_pkgbase-$_pkgver.$_locale.langpack.xpi::$_url/$_locale.xpi") + source+=("$_url/$_pkgbase-$_pkgver.$_locale.langpack.xpi") +# source+=("$_pkgbase-$_pkgver.$_locale.langpack.xpi::$_url/$_locale.xpi") eval "package_$_pkgname() { _package $_lang }" @@ -136,19 +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/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 +# 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 +# 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 @@ -159,95 +159,92 @@ _package() { "$pkgdir/usr/lib/icecat/browser/extensions/langpack-$1@icecat.mozilla.org.xpi" } -sha256sums=('c57f9d372f056d79b074976a70d3f8b99ec9379eedd9b7a4ec33608b002b9af9' - 'ce4530dc72a4c01db088b46e7018a29a87fb8b719e6a640c4c97ee0793d8190a' - '9f9a8b54932b3138d15fb050a6b04e574fc018d6acb2b7f23b1a9425513d416f' - 'fc301f3ce1f7d7cd995c7920af18f638e7dd40ade90318567c2bdb922d9cd11a' - '2f72ae6bad2fe67c93a5384cb32ab2991166b4507ee4d2678fd3c192719b4197' - 'ffa2d6e68d8c3ca3fe4d36372ac565fd34ad925fdc1f3f46382afa044d8d55fd' - 'd8d90a799d5e7d47a44f4afd5fba10f8815ff09eae34276f4e8e817befb9c6b8' - '60fd61bc5ad7db8857232deb0dae2f49882d9803d86d852daabe5debaddac467' - '14864a2372815dfd2c9bc726571b4d0d68169d55f9d0d150e91dfaa73e4cf8b6' - 'b0f9e9f5cbcd4e5b5dd6bbf3aae4d6edbf7f204e2d99f37db313a1dc8001f5d5' - '70c7ed401c48843c96486799c54498405e137196ea49e643513c43e3ea154bef' - '5b2ef1a4f93de18c8b27e703ec5da6bc760a09d67e863c0116593b7bacba38ff' - 'fa3ada11deeb52b3125b49428570c3fb8fc9956b3aa2124f6b5c1017512f715e' - '865456f6c52520446b829ca001268b6a8a9c4ca8ee597c00e7313193adf52b9f' - '093e4d5fe1fab9ce3eac28a1616857a9b8a106bd91d07047a80ec0f7ae87a1a4' - 'cca671ee4ee031d3acf90cf732b0b03a98a6eb14a3e10d0fdd4105d6fb2ca7cd' - '1ae378259f25e2a4b8b08e5f3c907476c7b9828b8c2bbdab5f733adec486d487' - 'a34d02f928a6bef8ee204c331073b933ee4c7e85e0840ec7471c4018eea555ba' - '9fa350f1aea6fd57c10908aa84a401e6d5b4111d34e7ed0c769807c62223ec0e' - '78f9cacf491b6ff5888782455a3b4d7c1ed0ae5298dd825a8de15bf42c0dbab8' - '6b24f9c8f926d28106c17e1adec975607f869d5f1dc2202ad1b0047da03acd0c' - '64bbc4dce5f8bd357dcadec32fe18f9d12d235dcf1016b7490d9802dba9d2e9d' - '80453680d665de33f10ed1e8f675d546fbc622fbab78a96119470ec553ff5e81' - '736da042d960010da3298191613c5df4e3813f80519359725c0cce4b9071c9b1' - 'fb822610d286841e79799aabe37b28b3a49dd602b2115b0b44e25656d78e340f' - 'c323f421203600958b966bab2e7067948be7a5ce136b54bfe36b15eec74a0552' - '524bc6a5bd979ebdc7f82f63d4c721fb48920907d356455943654759dad09e03' - '97cde7ab000ed7167f45d86e0ca7452006f90961f71fc74137bed72e100b17c1' - '599ad5f49f6578e1a625e8b594fb9d51414b3ac09010f133a15859acef8baaa8' - '1471acb38112acd82a7404b8ff5c7fb57bb5f90faf5b99d6a37c6ab6472ec669' - '31c80e68ddd95628cb8484677f830f952be96ff64897e11d128077e0fcbce7ae' - '1ea45310456c3b3649ead3b172777d80263c7e18b2f6ba73d214b8bea3fee864' - 'f7df003ce694defcb73b6bce207c0b3a0a81226651780636b196f9badd590958' - '11eae8c5c93095e5dd9161ec579775a7e84fa38b5a715ce5771e69dd80ee2004' - 'd512a79681dc961f3c4b1d59846dc2d79a75b04aa591ae38fe9f810c946d0b95' - 'b64d53d522244f5bff25e03b19c0e59e7c0e1af796296bba249b9aab82803fb9' - '3c602755066a100f54726f813d1c7d0e02e634ad7911be1107c0b9f726a1948d' - 'e9f2a84766edf7dd97791d0b84723a48f6441d9ddee4797d0771f805fcac7c43' - 'ac7c95ccb1061c812fb88b736e0008fccc1faceea33cd8516a8db430ab297b64' - 'dd67970c734223e4152f987cbc3db474c54a331f0e11436b948bdd6b361b9bcc' - 'f2df908b7153976bb3b5c463b2e413e0d0b616aa47d13321289c23e546dfa9fe' - 'a6ba0d884228ea0cd32c6b7813943f74d371cf1094602773dd4c2aa09e6148a1' - '8f1189a915932254dd71a2cb1bc1c8af2650abed6400ed58c5899872ecc500aa' - '7eb0158c7cf4dc9b429964f404d9e5fa6e70a57c4b4b28ce70b998b62f847092' - 'da6a302f08ebce5f02d5fd09fe77148dd6607149362c44bf17aad943ea178939' - '712603889391534f5bc4125621a00deca7d8ceb008ebabbfefb71d75393ea817' - 'de14abb876cb407f723025787ee7a1ca7820cc0737d10ff6bf3b9516959449be' - '0d32d2ed9229fa268dde02e627088bab563671633b447bde7f477a567fd001a8' - '9d95ec48a5ccff91c0281db567ffda7aeef684c1aa6058bd3a27b76d9d45665a' - 'f6e3da8b25067d8978043c5dceba199858650372cff1f57da61e65649b9a02a5' - '961f916fcffbbc3f2852f3cb1a337e54e1f5b62389c3ae8888441c991c5289f7' - '53cdacca5fdf51204a47dd20a395d6c3f77278196e4283d11e3e47abcc071f58' - '41088142a35e2904779b24e9d54ada4e59f3bb398e92796a93712839f3ffc7c4' - 'ecc6566e22d7b522f8a5ce39e8264a71bf04f22d05c1f83f9c57704b1bac0259' - '636b368787d841d747f1d714b40eb2ae5e6500f2d933d39003e9de6d52c7d54e' - '489bdb57e8aa63fd54999319fdb0985a4bff5144aa558fddcf4e977226a780c4' - '79084ffafbde4a7758118ad3b2cc526052833cb4e0319c9f8ea5b4d393a20bff' - 'a791d826ffb215f396e2c674efb29e2a4ea3b675b538978c46162adbb3c97b00' - 'b10fa69f49de1197b3ae30cb247b11bb34094c895694feaa770ed09d2a346251' - '50eb11e00cdf99da0d4e1d06d83be903a060a53416baffb666dbf166600aeac1' - '3ac79a90e37cb6f6cfb7b342a26957f38524d6a09be6644534917d2e3405dde0' - '19615835b449dabf86177e251e5622945ce248497c015ea56d66b0aa6ccb8e73' - '7d4093a8136b46c9b8122d5c8e6917a633ddb0fda208ab01a49bc4bc6e98ecf3' - 'bb2eef3b76d0218fedb51f5eaaa8e1232f8d0e4f9a4ad1df75b6f93f59f5db62' - 'c474c99d1d240ea93e891c9e2a01e39ec630024a75a3d809c08d56a75f7a70c8' - 'f07caf8da3bfdef6d35a9e0e2a33dad23347afb6176d6acba1f3123abfa68572' - '62e4d03e108833164c0f00126782d38804548e4e958d2640937f85b50133201c' - '05b3bfeab432b1119bd605822bbaf632d7d6e6704b8f34db8c407c83bff3daef' - 'bd393db4f3d07a0b362cc652c5b875d36b2e06b1fca85c27028d5a6fce708c3d' - 'b943b81c9a350804deab5037b14c9eb21ff0381b26fb9fb150c4a3bf0ea62f6c' - 'c461053c9c33023b6acc2eaebd231f7122b892e01dfefcbb2657c422bfe7319c' - '30b4ee033665b5c364cf8d4a4f21f4b1575eaffc04afa5f6949d94257aeadb14' - 'e952371a3fc8ecc3302f0d357f76e2f1a68ead841404ac000e9bfff2db3f2c3a' - 'a0eef60a81db20e4414dbcffa603d62a0b14e5d0f2d5a84e800d67f7e0af3837' - '761576f89459725d0c4d9f594a594d226c539544f5bcd6cc430349bbef012480' - '9ff6fe74ca153036cd3d8b10fd6f517430df24b28808af549b70f01cbc4291f7' - 'ab2e346ac3b9f4d8b7b7ed7e72f668c44e6050a39905c93643c7ee2c37e160ef' - '3d63cd25df083ae816a0b5cc5cf9ca9f4e9bea519a48f6385400e8b7764531d6' - '5fc68ae38ad84c8f475eee261930c0625402e6e6302607c9ff540014c70e0e44' - '578e4919e2b66ba26fb7a8f2922d8e2a13a28459702c251986a77a0cafb19ad3' - '5e7de79f7a75219c0a5f7ad4c385c8497c1c126282202aee5a2a44d3b030d912' - '01cd4582aaf949149c322c1a47a8019dca971d0c9629137d688c2b22f3ab3d9b' - '38e36c769037bcd8b56b728de2349fe69766a63142a06798d9c9a617779900d3' - 'e8ee36728838656bb0d0f743e1ea28727f631bbec17d370b6b4c09c641c15952' - '62528397a9b092a0a8eaaa23b29e8e0092d78dc7920e1062974cb0579898409f' - 'bbaeb1722a9e1e6b52a7569f4b00f54f1fdf87acda88d52eda2892ab103426a7' - '60c8b03bbf4805c3ba69234fa9cb04832d05b69b0df96257421331fa676d128c' - 'e84656e44b4e9e50301e351f8fa7652de9b9e068a6b04b8718e1abca144a27bb' - 'c24aa36964a321b9cab209a0ba851ccc268db3114f9209ff742c4ec0f4e4c8c8' - '93f9e1dfe71a596ebce79affb5764ea7057a8082bac65c902511bf3b5b48b656' - '1c1def4062ce15660670d7d31ee7672359fc50e9fe4b1f8d80e96f0d8adda199' - '1dbaae6ea46991f5298bb5c03f0926b48d77c058ff07c44601377ecbe9837be3') +sha256sums=('fc301f3ce1f7d7cd995c7920af18f638e7dd40ade90318567c2bdb922d9cd11a' + 'b18f096f2cb8f20e990e4733e4941576cc5dc660ea9e03d36780b9a909938edd' + '92b4b244fc831040597d53928816075ae7b8a611fbfc7419c7c87e0646065d14' + 'b33cc894305b51e41cc8c8b25158a5a595cc2df49041a1254cc35246645831c1' + 'a7e4f48596c57ef23ab8303d0895328e04b8cb14892ec91b4e822ee0fc9daf88' + 'dba85ce979af243c9b1a09a016e061081395ca5514514efad6a5d583c35575b5' + 'bd2252ac05d7895c9ff2e5dbb5116df2b651a73cf010870a3150fd55875e837b' + 'a284f956d41764fc4d7fed20ffdb154ad3dff216140ae4b59580803b3d3dbdd5' + '704d5823e6b4697dbf1f6555eeb8d9f31138e5d054c3a0e2db46f529a431c861' + '7c75a5d4fd9a3d908f5daea544673a1ac23ff3e1615c6d734a946e659965bc67' + 'cc8df226de9bb7e8b6c1306301b4e78079e65964b1f294f97d7ba92d4a809f92' + 'c0f065ca858fd294bf2686f37bba063a1cc32c09991d87a53c1b38fc67414c26' + '58656339abfdf3c52973652bf541d9e00f96fb0359ab259eee7a721fb7230e9d' + 'da34b7e2fe135e6d38dcf06f1ba2649cfba2def5fbb8cbe44d2731ea46cab5e2' + 'e9308a972baf3e14aa918c03047a8ab9bdaf505bdf3a09cb55c698a66e320d4f' + '68da2702f68a7487d2cf6e39eb31e2626d07a8d98327dd1b1c4d586f59675023' + '0e7ffb2e4f185c1287cded66580ac2aa624c506d773b924330144482f311ee51' + '4918f8a4229f1258a74c3fc3ea3cdd3b12219608ef547b6b7c2d267205759263' + 'c87f1f004257ec6a3a6ef2597bf5fa78fb8d772df605996b254b329f2bddf040' + '2f796ffaf2bd99db868d90a14e5dcfa6a001a7a07e14da861cb0e7c37ba72213' + '1f113008f48851eeb16fe137e11b4433e50027fba11eddc4aabf9f3024758edb' + 'c756835552ffb545d7bbd6d26418bdf7afda071f340a85b98de0f283f0e08ad8' + 'ba6f17aa3d651c24c58faf443623d924837f67ff51fa1f1992be230a5b376371' + '456217a2ed543b3ded20195c9f076c538c0d3ca4b37837d74929182b9c2a06f5' + 'f8d324b619ad3c781c79dc848496cedac200f589bb3083fbd4afc1da2f46348f' + 'cd370b23c270da3c5d40f315bfc3932ce6ce0f8d8a9dc5fdc6acfa9f2488448d' + 'bb52480f2639025bbe511d157285657361a91b67a66247bdf15161e9730a2727' + '3d6bd040ab98be124fb4a92dc5f29455a9c4afa92ca2136a490a5d35f91a5131' + '5f8dd6477095068e26b0f3a02ce728cbfc5f47c0a284470e4659a233af18503f' + '891cd885e4671346b0850a03d89999ee76db459420b827986cc46141e9e2cbc5' + '8502666d8bc99aa68ab90d208050b074f1e3edcd3ec84b890db435c5e9a618cf' + '71148b8d64884cde28e744c174034b4f475bc20f7e08d08e3c6f31e68e847798' + '6ddeb4ffa19b5659d9b7bb53d1b4530c4f76fbf8a8d20e4717c0d2b51bfab20b' + 'ccf0fd08b91134fd1ea32ae2defce578bd2ab67967125d3b502b3da050981ee2' + 'fd3adc784adf96fd5fb94b9d99ea3699e28b381273163569ce05de11591ada6c' + '787c534f7cdeaf4aef713d55493ee5a28855280767c5463242c16de5193ae1cd' + '5ed3c9400ed96796a5afd065a25ceca12ff33d0db1beb8141f6276beed7b8d74' + '4719dd22945a5896707ec21dfa231799def4a8a419547749e6646fd881e8df0a' + '082f0bf2667cc4871aae3bdd24f7d744ea5ba9d6105c2d1fb2bf8262ea39246b' + '43befbc59afac43f5a5adbecd07bf32765d0f2741591256de18e7bc7df652502' + 'caf24de80a44566e1bc23325be4c31a146cdf3b7f56e70226bd24e315be39312' + '522a7fbd77b5ce1e6262226a13abe4de6fdb20f8100c95d64684a7ede0cb0ff4' + '356fec528434c12b890d123f9672ec5ccfa0f0aac78a1bfa89106922ac8a46d0' + 'f9d9c5d375ddfe8c75cba7f24376b18ddcea6022a3e199a1ed11004c65dab2d7' + 'f3bff645e009f43042d604e25a81c80ace6d70d8cad011141242399aca0a96c2' + '177432739488a49b1c3945a7fb960fcce0d96afa39e8343eb70e86ef998857c6' + '0118fa37e77e56d29eb03d32f8b34d41f16466258339fab8a97e76a770396bcf' + 'ffbf073d7f9c3331219a58a404ad787bdc599aeb2e48b16e4e902eb7cca63eca' + '659deabd04fb3fb3174f1214a13bf9c0ae3a13d0c133de471eb0d05a52789ac5' + '32083d4170c1bae9dc1c187db4641a15e459923d2dd7b7eb2fa81ebfa36d3565' + '6c2b88999fb09ee1e2632df46add729921d903ead70f40fe1d2fcf852c4ff006' + '163db8d90e1a55785db4559729708af4440ca3100b43438f1dba41d8204f16f2' + '6b64fbad0018bfadc1dd268fda5aa41d624205237ca4705d076a95431bad086e' + '34c602ffc0c05a84119fdb1eefdd5d8d5b2ceed25bb28829c4dc41473ce159f6' + '66d7b7d8941cf29e2e538699f14fad435498d69e8dc2a1899195f9238ed5517c' + 'cc702e8e73636daccb478caab94ef408223a1f2fc8321e2213480a0d48c518a6' + '2b9bf505976019434b11a41357694d3b07e6e7fea7d7469b80aacd256c3cba57' + 'ac0fa04ac4edb376537b7aac2f651ecbab94f5aa00ee5b69123a64660d8436be' + 'ae05f0b8a7e9ca5f6ad5bd78964aeb5fac7a58e699c951d121c2a56447582a0f' + 'f1da3096b3abecbfdc032ddbe91bc15b6f4c8e934cbbfe342f6c96324290131c' + 'd0eae0f45042e77515e052595f6073fafc1f156f6b2e76e6485214bb3f434800' + '991221f43bb20985ac53100efbda37a86c0f51049a96d9c34b2e77db65b16d67' + '25427822555218bd4dc4267a94c362cb762d93b8a51aa3ac175bc0df61e5225f' + 'e664575cc9a85b4ba842d1d26413fcac77f87d9443cbf78d5653e96c48ee984e' + '1f847bc553d5fdf2b70882a74386c109c46a91e614f5c4275f637552cf23259c' + '857197398fa5c6663540f8008f36f6a5e76df81f771e785ad98824c4b5d0bb52' + '0006c12f6c57665db4e2d155531af6d48d921be5fa7fc55b79a26dd69669ec43' + 'ab1d339b57b8daee08c8498022944ac7ee6445497d992a5ad08f503334931883' + 'da9924f2824a82fdee17611fa2ff99fa5649afc0b858eef5e2d7e23586e7371b' + '3d8d3652fb3a22be6b45a69e40104784ce3cc8d85923995853b0e28d064dd3e1' + 'a73a90bc33e9844450d3475fed8f0d4b47124f3fdf9ef599d77133a7d64c85e8' + '94e7930efb2e24bfc56359f220441e8f37fafc3a5748e9f3488a597c68565525' + 'e2e4bb87b9a7da4bf3efaec819d2789e0d7770700579cb7401dfa6591648982c' + '68957b9cb3dbe54c27b6457a4fbe6a582d0ed6d43bd606afdbdf3bdde7866bbc' + 'dd7affd99aa9e3e71b3a1e9c97e175a62c4d421b8ea70c96c03ac193a0e49f16' + '5d1d7ec9027ecc4ce601a08ffcea09566bc0c85e8d5b5c8f69694201f7bdb375' + 'cc93b93da84646dd3c35ba10e3ed3a2132a3b250013254b356f4736706aabfad' + '7bd76881890162f812b926c2b5792cdb33ab28fb2f1b10252f055455b6128202' + 'f5e13cd63798511f9b9b1ce8edc31c16cd7bdec487cc61142c104e0a25b23b16' + '1db0fc74847a665c7d53e6098c52fd9d82026b60056307614e7f64b5681190a0' + 'df5452e489d9392b53e362a6f66f8bc7826406c0fcdc435a66d5590e070b3a62' + '2e0468d6f6849bbd7eaa065b47cd24a8b4d30a4cd97b99fac44712d5e7824d2d' + '37fdf8a87887fdab1d2459e05f47d94227d55240271293d8e50f1ef3ed3cc86e' + 'cce67254fef4e18736ae8e062d886522b97d11c84c54827d0efc61195c3138fc' + 'e97cf50f0da7e6a8b8e0c6b5b86f6101c16f68fca43281effe13d914e6471908' + 'd6e845be452930b30580c3db0771464962396f30320fd8eaee0383a5a0266aa2' + 'c7ec6daf3abf5a352b25628cd52b38edf95052f31e1dbf0862c86a5afcf15b2e' + '7d145443c1d9b136afac3432f373ad1d500bf137969d6dbe7787102359119f0c' + 'e608f6a82d81dc680c2e90b021a2ba1e62ec40d46362972487406e5d66b3cff0') |