diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2021-01-12 01:13:45 -0500 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2021-01-12 06:05:54 -0500 |
commit | 54a9a149abb3a7af469d490e3766dc4ed70dcbf6 (patch) | |
tree | 633520495aecbde6dd2be1b84fe340d234d14308 | |
parent | 550d820a3bb3821acf9b5bde3aaf6fcc017fe51d (diff) | |
download | abslibre-54a9a149abb3a7af469d490e3766dc4ed70dcbf6.tar.gz abslibre-54a9a149abb3a7af469d490e3766dc4ed70dcbf6.tar.bz2 abslibre-54a9a149abb3a7af469d490e3766dc4ed70dcbf6.zip |
[iceape-l10n][icedove-l10n][iceweasel-l10n]: housekeeping
-rw-r--r-- | libre/iceape-l10n/PKGBUILD | 54 | ||||
-rw-r--r-- | libre/icecat-l10n/PKGBUILD | 12 | ||||
-rw-r--r-- | libre/icedove-l10n/PKGBUILD | 15 | ||||
-rw-r--r-- | libre/iceweasel-l10n/PKGBUILD | 14 |
4 files changed, 45 insertions, 50 deletions
diff --git a/libre/iceape-l10n/PKGBUILD b/libre/iceape-l10n/PKGBUILD index ec95b854a..fbfa02b6b 100644 --- a/libre/iceape-l10n/PKGBUILD +++ b/libre/iceape-l10n/PKGBUILD @@ -20,8 +20,6 @@ license=(MPL GPL) depends=("$_pkgbase=$epoch:$pkgver") makedepends=('unzip' 'zip') -_src_url=https://ftp.mozilla.org/pub/seamonkey/releases/${pkgver}/langpack - pkgname=() source=(brand.dtd brand.properties @@ -32,31 +30,41 @@ source=(brand.dtd languages.${CARCH} sha512sums.${CARCH}) -_languages_x86_64_shasum="1cc581a43b69834c94836b4f891cb9e35538d3df0538d449fa3efe8f26b79b96f05c7f210e48fefe5ba96c95cd40a8a3180f8611f31367c4f16930327f9e4585" -_languages_i686_shasum="1cc581a43b69834c94836b4f891cb9e35538d3df0538d449fa3efe8f26b79b96f05c7f210e48fefe5ba96c95cd40a8a3180f8611f31367c4f16930327f9e4585" -_languages_armv7h_shasum="1cc581a43b69834c94836b4f891cb9e35538d3df0538d449fa3efe8f26b79b96f05c7f210e48fefe5ba96c95cd40a8a3180f8611f31367c4f16930327f9e4585" -_languages_list_shasum="_languages_${CARCH}_shasum" - -_sha512sums_x86_64_shasum="947f493bd305ea4993367122cd78df76db9b54f3e7aecb87dcfcb94010cee84585bb18bec7cd63a6f15b8c40dd29f131cfeba92e8945ff57bbcde0d11e3a1629" -_sha512sums_i686_shasum="947f493bd305ea4993367122cd78df76db9b54f3e7aecb87dcfcb94010cee84585bb18bec7cd63a6f15b8c40dd29f131cfeba92e8945ff57bbcde0d11e3a1629" -_sha512sums_armv7h_shasum="947f493bd305ea4993367122cd78df76db9b54f3e7aecb87dcfcb94010cee84585bb18bec7cd63a6f15b8c40dd29f131cfeba92e8945ff57bbcde0d11e3a1629" -_sha512sums_list_shasum="_sha512sums_${CARCH}_shasum" - -# parse locales and package names from language list files -source languages.${CARCH} # sets $_languages +# load languages list and .xpi checksums +source languages.${CARCH} # sets $_languages source sha512sums.${CARCH} # sets $_sha512sums + +# compile package names and .xpi sources +_src_url=https://ftp.mozilla.org/pub/seamonkey/releases/${pkgver}/langpack for _lang in "${_languages[@]}"; do _locale=${_lang%% *} - _pkgname=$pkgbase-${_locale,,} + _pkgname=${pkgbase}-${_locale,,} pkgname+=($_pkgname) - source+=("$pkgbase-$pkgver-$_locale.xpi::$_url/seamonkey-$pkgver.$_locale.langpack.xpi") + source+=(${pkgbase}-${pkgver}-${_locale}.xpi::${_url}/seamonkey-${pkgver}.${_locale}.langpack.xpi) - eval "package_$_pkgname() { - _package $_lang + eval "package_${_pkgname}() { + _package ${_lang} }" done +# compile checksums +_languages_x86_64_shasum='1cc581a43b69834c94836b4f891cb9e35538d3df0538d449fa3efe8f26b79b96f05c7f210e48fefe5ba96c95cd40a8a3180f8611f31367c4f16930327f9e4585' +_languages_i686_shasum='1cc581a43b69834c94836b4f891cb9e35538d3df0538d449fa3efe8f26b79b96f05c7f210e48fefe5ba96c95cd40a8a3180f8611f31367c4f16930327f9e4585' +_languages_armv7h_shasum='1cc581a43b69834c94836b4f891cb9e35538d3df0538d449fa3efe8f26b79b96f05c7f210e48fefe5ba96c95cd40a8a3180f8611f31367c4f16930327f9e4585' +_sha512sums_x86_64_shasum='947f493bd305ea4993367122cd78df76db9b54f3e7aecb87dcfcb94010cee84585bb18bec7cd63a6f15b8c40dd29f131cfeba92e8945ff57bbcde0d11e3a1629' +_sha512sums_i686_shasum='947f493bd305ea4993367122cd78df76db9b54f3e7aecb87dcfcb94010cee84585bb18bec7cd63a6f15b8c40dd29f131cfeba92e8945ff57bbcde0d11e3a1629' +_sha512sums_armv7h_shasum='947f493bd305ea4993367122cd78df76db9b54f3e7aecb87dcfcb94010cee84585bb18bec7cd63a6f15b8c40dd29f131cfeba92e8945ff57bbcde0d11e3a1629' +sha256sums=('08b88f2ef2b9d780945389628d7fe4940d8270554e76d025449f6908e2c1affad1faa8cfe1e95889c59b7fa4dfbee60f67d68b8ac031b568256bb2f8a9106910' # brand.dtd + '69460ad8100fba9dfaf6993a8f061717cb3cb39fa13b1d8d040d7f91d1c482c62548ae184c698e23f28abc0ecfec7e7b11f22b55083e65a9b41d3fc7715a6633' # brand.properties + 'fca487a975a58ade57edc35674ce4ebdffabcf5e241ab1ac0eb08dc6d64e26a4990fbc6229d972fa3172e747368b35b5396a4f7d9c2ed1a55fc25c72a75f2842' # communicator-region.properties + 'f6fcb5294acab6ad26942da9466da7ee653c54ead4d8b5835894e35acf87d874e95a2357569574ec645c6ab67aa333210666e9a8462e7a36a7463100e78386a6' # editor-region.properties + '3b40d16c9871502005b81ed7e35d4d5a6ca1ba17d75d53b0e623274fd6be49071cb16e2a36e35e06485b7d5eebbdfc66e511b975c2fa029f97d7e437fdf57fa9' # messenger-region.properties + '7542559b4da72739cf5a1f96c2ecbf771a3c6e559c7ac9a50eb67e4dbe5c34ac47ce1684286ae88a80f52b17131ac881fb30be83be001b385184c5e2e2c8683f' # navigator-region.properties + $(eval "echo \$_languages_${CARCH}_shasum") # languages.${CARCH} + $(eval "echo \$_sha512sums_${CARCH}_shasum") # sha512sums.${CARCH} + "${_sha512sums[@]}") + # Don't extract anything noextract=(${source[@]%%::*}) @@ -83,13 +91,3 @@ _package() { install -vDm644 langpack-$1@iceape.mozilla.org.xpi \ "$pkgdir/usr/lib/iceape-$pkgver/extensions/langpack-$1@iceape.mozilla.org.xpi" } - -sha256sums=('08b88f2ef2b9d780945389628d7fe4940d8270554e76d025449f6908e2c1affad1faa8cfe1e95889c59b7fa4dfbee60f67d68b8ac031b568256bb2f8a9106910' # brand.dtd - '69460ad8100fba9dfaf6993a8f061717cb3cb39fa13b1d8d040d7f91d1c482c62548ae184c698e23f28abc0ecfec7e7b11f22b55083e65a9b41d3fc7715a6633' # brand.properties - 'fca487a975a58ade57edc35674ce4ebdffabcf5e241ab1ac0eb08dc6d64e26a4990fbc6229d972fa3172e747368b35b5396a4f7d9c2ed1a55fc25c72a75f2842' # communicator-region.properties - 'f6fcb5294acab6ad26942da9466da7ee653c54ead4d8b5835894e35acf87d874e95a2357569574ec645c6ab67aa333210666e9a8462e7a36a7463100e78386a6' # editor-region.properties - '3b40d16c9871502005b81ed7e35d4d5a6ca1ba17d75d53b0e623274fd6be49071cb16e2a36e35e06485b7d5eebbdfc66e511b975c2fa029f97d7e437fdf57fa9' # messenger-region.properties - '7542559b4da72739cf5a1f96c2ecbf771a3c6e559c7ac9a50eb67e4dbe5c34ac47ce1684286ae88a80f52b17131ac881fb30be83be001b385184c5e2e2c8683f' # navigator-region.properties - "${!_languages_list_shasum}" - "${!_sha512sums_list_shasum}" - "${_sha512sums[@]}") diff --git a/libre/icecat-l10n/PKGBUILD b/libre/icecat-l10n/PKGBUILD index f014e7238..0abc79319 100644 --- a/libre/icecat-l10n/PKGBUILD +++ b/libre/icecat-l10n/PKGBUILD @@ -48,12 +48,12 @@ for _lang in "${_languages[@]}"; do done # compile checksums -_languages_armv7h_shasum="215312aa1489de846eefd92881b09ded48da5b3340168f65b568d191d500c646023553d699ba1f4c5ec0d59b321facfebed14a910c0bcb385f4b729ab1a3fb2a" -_languages_i686_shasum="215312aa1489de846eefd92881b09ded48da5b3340168f65b568d191d500c646023553d699ba1f4c5ec0d59b321facfebed14a910c0bcb385f4b729ab1a3fb2a" -_languages_x86_64_shasum="c259b9886024281a92fa8c834c673cf0dd34480a1ba227209872c5e923841d7f343d45885e245fe33b8ca3d24c7f2b527e6c49d6c665133781825076ee4f2cf9" -_sha512sums_armv7h_shasum="f37875c1e34337da36626de8e90921828acd347db72d6de4ccfbd000ae075ae038f1084c261a7328cd44c4aa02fd7fb68d32710c3a7b7f04ada374ad15e58492" -_sha512sums_i686_shasum="f37875c1e34337da36626de8e90921828acd347db72d6de4ccfbd000ae075ae038f1084c261a7328cd44c4aa02fd7fb68d32710c3a7b7f04ada374ad15e58492" -_sha512sums_x86_64_shasum="776c748a73aea3766a0b4b69b0768bfaf6ad5294b7bb916497fe767c5b2c5ecd065f9e6793c7f6ee97287180664231332e980784a96efa47dd93f8a2f838093a" +_languages_armv7h_shasum='215312aa1489de846eefd92881b09ded48da5b3340168f65b568d191d500c646023553d699ba1f4c5ec0d59b321facfebed14a910c0bcb385f4b729ab1a3fb2a' +_languages_i686_shasum='215312aa1489de846eefd92881b09ded48da5b3340168f65b568d191d500c646023553d699ba1f4c5ec0d59b321facfebed14a910c0bcb385f4b729ab1a3fb2a' +_languages_x86_64_shasum='c259b9886024281a92fa8c834c673cf0dd34480a1ba227209872c5e923841d7f343d45885e245fe33b8ca3d24c7f2b527e6c49d6c665133781825076ee4f2cf9' +_sha512sums_armv7h_shasum='f37875c1e34337da36626de8e90921828acd347db72d6de4ccfbd000ae075ae038f1084c261a7328cd44c4aa02fd7fb68d32710c3a7b7f04ada374ad15e58492' +_sha512sums_i686_shasum='f37875c1e34337da36626de8e90921828acd347db72d6de4ccfbd000ae075ae038f1084c261a7328cd44c4aa02fd7fb68d32710c3a7b7f04ada374ad15e58492' +_sha512sums_x86_64_shasum='776c748a73aea3766a0b4b69b0768bfaf6ad5294b7bb916497fe767c5b2c5ecd065f9e6793c7f6ee97287180664231332e980784a96efa47dd93f8a2f838093a' sha512sums=('5d35275f6ccfbbce6ee37357e91df5a4d94b79dd6e78074c3b0e8640e190b0b7c1758186818b9e0ac681ca6c6859b5c84dbe4ca3d5ebbb350fd6a0d39f25252a' # region.properties $(eval "echo \$_languages_${CARCH}_shasum") # languages.${CARCH} $(eval "echo \$_sha512sums_${CARCH}_shasum") # sha512sums.${CARCH} diff --git a/libre/icedove-l10n/PKGBUILD b/libre/icedove-l10n/PKGBUILD index e1e6688a2..05c975dee 100644 --- a/libre/icedove-l10n/PKGBUILD +++ b/libre/icedove-l10n/PKGBUILD @@ -66,12 +66,12 @@ for _lang in "${_languages[@]}"; do done # compile checksums -_languages_armv7h_shasum="048575a6fe88ee3de5ddd5c2419893d5c4cdc1f1a7b5f015647ddc59a5c385b7ab13c80bbdc65213b921d4224573c8159445dc06f37ab6612ec012927fe6e6c1" -_languages_i686_shasum="048575a6fe88ee3de5ddd5c2419893d5c4cdc1f1a7b5f015647ddc59a5c385b7ab13c80bbdc65213b921d4224573c8159445dc06f37ab6612ec012927fe6e6c1" -_languages_x86_64_shasum="048575a6fe88ee3de5ddd5c2419893d5c4cdc1f1a7b5f015647ddc59a5c385b7ab13c80bbdc65213b921d4224573c8159445dc06f37ab6612ec012927fe6e6c1" -_sha512sums_armv7h_shasum="1e63d7b4230d0e64b0ecd9637a913517d5371537de009affd928809742cc812622814c1861ebbd490c356abb2a60b8ecc736064b45e0aff5c517c236ce142dcb" -_sha512sums_i686_shasum="0cde0eabb54642aa00dae4362bca31d9686103049b74c2859c1f7deb105c886d7134f62b8de9f11272567618bc3049c32e162b8b3eeec0037fc370ad60678e74" -_sha512sums_x86_64_shasum="0cde0eabb54642aa00dae4362bca31d9686103049b74c2859c1f7deb105c886d7134f62b8de9f11272567618bc3049c32e162b8b3eeec0037fc370ad60678e74" +_languages_armv7h_shasum='048575a6fe88ee3de5ddd5c2419893d5c4cdc1f1a7b5f015647ddc59a5c385b7ab13c80bbdc65213b921d4224573c8159445dc06f37ab6612ec012927fe6e6c1' +_languages_i686_shasum='048575a6fe88ee3de5ddd5c2419893d5c4cdc1f1a7b5f015647ddc59a5c385b7ab13c80bbdc65213b921d4224573c8159445dc06f37ab6612ec012927fe6e6c1' +_languages_x86_64_shasum='048575a6fe88ee3de5ddd5c2419893d5c4cdc1f1a7b5f015647ddc59a5c385b7ab13c80bbdc65213b921d4224573c8159445dc06f37ab6612ec012927fe6e6c1' +_sha512sums_armv7h_shasum='1e63d7b4230d0e64b0ecd9637a913517d5371537de009affd928809742cc812622814c1861ebbd490c356abb2a60b8ecc736064b45e0aff5c517c236ce142dcb' +_sha512sums_i686_shasum='0cde0eabb54642aa00dae4362bca31d9686103049b74c2859c1f7deb105c886d7134f62b8de9f11272567618bc3049c32e162b8b3eeec0037fc370ad60678e74' +_sha512sums_x86_64_shasum='0cde0eabb54642aa00dae4362bca31d9686103049b74c2859c1f7deb105c886d7134f62b8de9f11272567618bc3049c32e162b8b3eeec0037fc370ad60678e74' sha512sums=('75d15604c01e76acd6d1dfd872ebc23296c8e76ed936f4a20a5616a73fa42a04a5a509946a4b728e6c052cc7f2ae81306a48cd27b4b1aae63d2d6a3cbff2ade6' # brand.dtd '934b0e299f1366d19b3a88f572971a36c94213004182fc3de1d2400a5de987aeb57821ad3f5ba8cda81655fcf24394e1779936541acbed646709a6417be3165b' # brand.properties 'd3120b7e0072b1951ea8d5cdd950fca2ed6bcc4dca2a93a3d40e88bfde0cab288590cb03e7d1359201072c21331fe422bfc3440a38effc1f164155d82c2a0b76' # region.properties @@ -118,9 +118,6 @@ _package() { sed -i -e 's/thunderbird/icedove/' $1/$_pkgbase/manifest.json sed -i -e 's/Thunderbird/Icedove/' $1/$_pkgbase/manifest.json rm -rv $1/$_pkgbase/chrome/$1/locale/$1/global-platform/{mac,win} - # searchplugins have gone from the translation? - #rm -rv $1/$_pkgbase/chrome/$1/locale/$1/messenger/searchplugins - #cp -av /usr/lib/mozilla/searchplugins $1/$_pkgbase/chrome/$1/locale/$1/messenger cd $1/$_pkgbase zip -r langpack-$1@$_pkgbase.mozilla.org.xpi . diff --git a/libre/iceweasel-l10n/PKGBUILD b/libre/iceweasel-l10n/PKGBUILD index 46d4dca9e..4ace97ae3 100644 --- a/libre/iceweasel-l10n/PKGBUILD +++ b/libre/iceweasel-l10n/PKGBUILD @@ -33,7 +33,7 @@ arch=('armv7h' 'i686' 'x86_64') url=https://wiki.parabola.nu/iceweasel license=(MPL GPL LGPL) depends=(iceweasel=${epoch}:${pkgver}) -makedepends=('unzip' 'zip' 'mozilla-searchplugins') +makedepends=('unzip' 'zip') pkgname=() source=(brand.dtd @@ -61,12 +61,12 @@ for _lang in "${_languages[@]}"; do done # compile checksums -_languages_armv7h_shasum="c259b9886024281a92fa8c834c673cf0dd34480a1ba227209872c5e923841d7f343d45885e245fe33b8ca3d24c7f2b527e6c49d6c665133781825076ee4f2cf9" -_languages_i686_shasum="e27aa22697942c950c71a6466a70579d326bcce5cc547592c4b1fe0c9b4fa819f7fd7c2a354f2982d65d16f8bb7997635d9b9344d68330eec979e03258b5e5e7" -_languages_x86_64_shasum="822834ef7cc72cd66e517b28522d52acbc8ca76078676b5e731e4cb71734c8ea4ce8c86ff4033e86728aad1b721d0e8bbb57a1d0eca32736da983c8e8b8e2904" -_sha512sums_armv7h_shasum="ba69d1ac848440397617011bf94fdffd83bdda39c21bcb6ddfcf621e76db380bf5ec0e2afe535e226efd450506dd90594f47ab12e84705efc09c3bf7cca31359" -_sha512sums_i686_shasum="8e10ce99b914252cc08015959c40e845d55df0fb94de47a0e5f1c4c93d50bdc29c7bfbb058d205eaf91645c34c606fcb6d232e866e19c0601dac8ba3496f52ff" -_sha512sums_x86_64_shasum="68d49ba6b4b98ed2c5a67bd6f34ded3bbc41d2182b567c274e6db22416c992a7edbaf5113f9bad7d9d95e5ef6e354016b0e7cf024dc36b979b23210dd13281e3" +_languages_armv7h_shasum='c259b9886024281a92fa8c834c673cf0dd34480a1ba227209872c5e923841d7f343d45885e245fe33b8ca3d24c7f2b527e6c49d6c665133781825076ee4f2cf9' +_languages_i686_shasum='e27aa22697942c950c71a6466a70579d326bcce5cc547592c4b1fe0c9b4fa819f7fd7c2a354f2982d65d16f8bb7997635d9b9344d68330eec979e03258b5e5e7' +_languages_x86_64_shasum='822834ef7cc72cd66e517b28522d52acbc8ca76078676b5e731e4cb71734c8ea4ce8c86ff4033e86728aad1b721d0e8bbb57a1d0eca32736da983c8e8b8e2904' +_sha512sums_armv7h_shasum='ba69d1ac848440397617011bf94fdffd83bdda39c21bcb6ddfcf621e76db380bf5ec0e2afe535e226efd450506dd90594f47ab12e84705efc09c3bf7cca31359' +_sha512sums_i686_shasum='8e10ce99b914252cc08015959c40e845d55df0fb94de47a0e5f1c4c93d50bdc29c7bfbb058d205eaf91645c34c606fcb6d232e866e19c0601dac8ba3496f52ff' +_sha512sums_x86_64_shasum='68d49ba6b4b98ed2c5a67bd6f34ded3bbc41d2182b567c274e6db22416c992a7edbaf5113f9bad7d9d95e5ef6e354016b0e7cf024dc36b979b23210dd13281e3' sha512sums=('bfe82e11a3a1b8006b58a54897f297bd17191ca2e7b08f95d66ec6bfe356caf9eb4d96b3dde5f36db0331d012bde2f03e7087aad1e087800b404f82fa9d786ad' # brand.dtd 'a1a7e44f3358b131157d2acec243d35ef234e42a6522edfa5b2be9b497a65b2227c64b7fb989c0780c55333c0075f8f2198d99cde8f602bb3f9b8619dc57ab2c' # brand.properties '31d33e90be1b5c0e76a0c374684f9a7b4076f7bcca8b76309048b2e3fc7f27c0bc8a2a9f9e66bd8c51fe8780a52a1011c540b071dc82f78d72a1d5ad29fee4f9' # region.properties |