summaryrefslogtreecommitdiff
path: root/libre/icedove-l10n/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/icedove-l10n/PKGBUILD')
-rw-r--r--libre/icedove-l10n/PKGBUILD159
1 files changed, 82 insertions, 77 deletions
diff --git a/libre/icedove-l10n/PKGBUILD b/libre/icedove-l10n/PKGBUILD
index 249290f51..8df269deb 100644
--- a/libre/icedove-l10n/PKGBUILD
+++ b/libre/icedove-l10n/PKGBUILD
@@ -1,16 +1,21 @@
-# Maintainer: André Silva <emulatorman@parabola.nu>
-# Contributor: Márcio Silva <coadde@parabola.nu>
+# Maintainer: Andreas Grapentin <andreas@grapentin.org>
+# Contributor: André Silva <emulatorman@riseup.net>
+# Contributor: Márcio Silva <coadde@riseup.net>
-epoch=1
+_oldname=thunderbird
_pkgbase=icedove
pkgbase=$_pkgbase-l10n
-_pkgver=45.8.0
-pkgver=45.8.0.deb3
+
+epoch=1
+pkgver=52.1.0
pkgrel=1
-pkgdesc="Language pack for Debian ${_pkgbase^}."
+
arch=('any')
-url="http://packages.debian.org/sid/icedove"
+
+pkgdesc="Language pack for ${_pkgbase^}."
+url="http://packages.debian.org/sid/$_pkgbase"
license=('MPL' 'GPL')
+
depends=("$_pkgbase=$epoch:$pkgver")
makedepends=('unzip' 'zip' 'mozilla-searchplugins')
@@ -77,14 +82,14 @@ _languages=(
pkgname=()
source=('brand.dtd' 'brand.properties' 'region.properties')
-_url=https://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$_pkgver/linux-i686/xpi
+_url=https://ftp.mozilla.org/pub/mozilla.org/$_oldname/releases/$pkgver/linux-i686/xpi
for _lang in "${_languages[@]}"; do
_locale=${_lang%% *}
_pkgname=$pkgbase-${_locale,,}
pkgname+=($_pkgname)
- source+=("$pkgbase-$_pkgver-$_locale.xpi::$_url/$_locale.xpi")
+ source+=("$pkgbase-$pkgver-$_locale.xpi::$_url/$_locale.xpi")
eval "package_$_pkgname() {
_package $_lang
}"
@@ -94,13 +99,13 @@ done
noextract=(${source[@]%%::*})
_package() {
- pkgdesc="$2 language pack for Debian Icedove."
- replaces=(thunderbird-i18n-${1,,} icedove-l18n-${1,,})
- conflicts=(thunderbird-i18n-${1,,} icedove-l18n-${1,,})
- provides=(thunderbird-i18n-${1,,})
+ pkgdesc="$2 language pack for Icedove."
+ replaces=($_oldname-i18n-${1,,} $_pkgbase-l18n-${1,,})
+ conflicts=($_oldname-i18n-${1,,} $_pkgbase-l18n-${1,,})
+ provides=($_oldname-i18n-${1,,})
- unzip icedove-l10n-$_pkgver-$1.xpi -d $1
- rm -v icedove-l10n-$_pkgver-$1.xpi
+ unzip $_pkgbase-l10n-$pkgver-$1.xpi -d $1
+ rm -v $_pkgbase-l10n-$pkgver-$1.xpi
install -vDm644 $srcdir/brand.dtd $1/chrome/$1/locale/$1/branding
install -vDm644 $srcdir/brand.properties $1/chrome/$1/locale/$1/branding
install -vDm644 $srcdir/region.properties $1/chrome/$1/locale/$1/messenger-region
@@ -110,73 +115,73 @@ _package() {
cp -av /usr/lib/mozilla/searchplugins $1/chrome/$1/locale/$1/messenger
cd $1
- zip -r langpack-$1@icedove.mozilla.org.xpi .
- mv -v langpack-$1@icedove.mozilla.org.xpi $srcdir
+ zip -r langpack-$1@$_pkgbase.mozilla.org.xpi .
+ mv -v langpack-$1@$_pkgbase.mozilla.org.xpi $srcdir
cd ..
rm -rv $1
- install -vDm644 langpack-$1@icedove.mozilla.org.xpi \
- "$pkgdir/usr/lib/icedove/extensions/langpack-$1@icedove.mozilla.org.xpi"
+ install -vDm644 langpack-$1@$_pkgbase.mozilla.org.xpi \
+ "$pkgdir/usr/lib/$_pkgbase/extensions/langpack-$1@$_pkgbase.mozilla.org.xpi"
}
sha256sums=('49b419449431d8d64e20427a2e7105e3ac1ffc41e677a5f9a8eb276f5b82df4a'
'acc2cf95661be7cb8928fca89e08d0681685409ff2428e4e3d25baf1af427b38'
'e6edcc7c478d73ca5a17e4889acd302d55201ec5c29de545d3f44165201923db'
- '4b8787643041672aad90d1297eacad510ec88d04461d19680d38e004add14f21'
- '0ead56ad0cd11503a60d5f75cd181c0c85eb7ccbc42fa69c76d3cd64f29a0cd9'
- '2836d2485234e541fe2d227af8f8c477173051d6bd6a9db5bab6c64a74fefd04'
- 'b0cb9a7684809eb71e3d79ffab9b6422c97a4dcf4cb8cbff14a403c79a425980'
- '2c34a6f9a28605551953d40ec868ed42eb605d85ea6012bb868adc2251f18158'
- '058d05618dd1c83dd854203e043c328ec1f6937f5b85f9ff50245f7e428b3c01'
- '89e8c63dfeeb9a8a68f28278302143c2f1b71193bfefacbbbcdf70cb47357046'
- '50e02729a1a4740a3964b085572b8d17c551cf71438d24e8d1845073d5048ad2'
- '46f2549f8568db23e734fb95bc3836335e104867b1467086058f062f2471552f'
- 'b7fdb27246d5bd78d3ffccd83bdf437fe791f820ca5ba38cad19f5286c7380c8'
- '41814028f2aad3d30ab245935095d5f7c2ffc97f79d731eed9977f1cf03b0018'
- '161dde3ccedcbcb879ea77fc3b43bd16b331c0317f513d8479158b0f48349a63'
- '1daf788364a9d738fb2a8324814076d8a058cff96884ccb0a24cb440fdb9f42e'
- 'cf1fce9ed3442c4eb2e669968757077f79c68499ad12bebedae86259c8b83153'
- '3dcc363eaefa81dfa9d0aea4a03798339ed3e12ceea8d56cbd766c756f9cbf29'
- '20a757a4ee8f349e5578a0da2daa94b0ecd4c5b06315aa928ed429d9bab03d89'
- '2f4872efacab2e2ffa9c561f882eb6f6e323f02a7e3606efda0d0aef7af38516'
- '44a8c625290a5a306c9d1946c1084a307b83595dec6cc75cfe809428f490fca7'
- 'a5d9f300bb05cf0c3e5eddff963ee790a28ba7706530697eb7464f202434923a'
- '5c0ea0d794d4fc35d1281f5ab14d6725d8c42180b242da9d65005bfd036467db'
- 'b0cc458c6e5605cdd3ec237cfd679c14550b3a7c1397637602cf273a600a013f'
- '6a2f11240be608e90938c61fad09c460490f7c4418da71326ec3cc8a57ce01cb'
- '4725d113908caad379a0a360b55ceb94c192e9b5475b497778ab39b8e8124c4c'
- 'a9958f7c2383923e317c9cfa52fd2a853f8acb2673425206a1a6ec5e9172796b'
- '9ebedd43676f8b2d4a5de96e092b01642f5a325da872d7881b2515bc7dfa09b4'
- 'a476c22a63fda28330c4e03957cf1abe407f9ac7041f73a9c157185441e7e5e3'
- 'a434724f0977c9caea5abf63ce8f5587d0b8496aabd18403ee26deac0dabdf1b'
- 'e806a0b1a6652fbe48e7a8bb9eba60194c94188931a5ca03e50d6fbc4fbbca92'
- '1cf236e60fb7097842d27d2f791821c63eee3e62323e73d9a288a9b888ad5fa5'
- '52d988c204b8e0cb421f9fdfac1ec4a21c18cd6a40b43e8573494396d516a652'
- '2ca9d5d178c1dbb5559e93702b4b0d7049f3f35dac01e616a79316b825251360'
- 'e5692f833bcee4cd1abccc0a5e9d64dc0f51f30b515c9e4e821bbc2e87549209'
- '7a551f3c72330531723f97c1d94aa9ec21ba2191f68f172134c95a830d8cd19d'
- '2f2bc3f468490efc0443743c05c41ce37058ab4c6d8b5c515f068990134336c2'
- '397dd7ef1002f3a861757a49abaf77ed4b5809c5370c85031ccdf0465b4504b8'
- 'b3cbf1f89527f6e4ab642843bddb85abfd650d0e1318664d9d899dfb0eeb071e'
- '4063b519f2e61dcca7d8f121f0664dbbd4f70afe3cbf6b2c9e5c4d95baaaa94d'
- '1297c46ba1690567bccc33d085f2deb0871447ce664959f3ee9dafa028d80688'
- '2e3b52591317080d5e0296eb18f4ebe78166eff1c5c8f7466ee483a0b9cfad16'
- '9f114808ab6733d9c2299153a1e361cb98617b97e286a12579e09abf3f9d2975'
- '52e1fa5935e439a7845c947e3ae9ba0b883da02bb6976e66aad9677c103aab17'
- 'c0b2966560a53b11355d241d50337772bd000ccbe518bc2ba7b2942107057744'
- '8c69f5a3911917284a715625acc4cfb9dd18884de3cfb841271a957dbd9a54aa'
- 'd948b70df148a6f220ae1a92ea3126c4246c2f4c5edaf1eaa7876142a61ac6b2'
- 'cdf68888750bc9c5a87c0424a60e33afc075a09f9ef68b5fadd24d9ae2cad48b'
- 'cc6f6236f43e22b101296a4b67879ef6c1c58ea6c78f69fcf4e6d17e5d1439d8'
- 'a7c66be4bcb3220101f6b234f2e6ae1f468c0894ec5391896be20caf17f8cc45'
- 'c8dee9828ad164f3deb3dbb42a003ef3cc97ba2fb509289a9f10277fa9827495'
- '45c6d8f89d1f83e37890a1dd915579ac3cd4cc28d57bc2ab6d31e63a63411d29'
- '1cbf09a27eeb122b00992ad9cadd4a2bd74fcdf6a4dacc33e89b99a3558d66d6'
- '1374da12111a405d4c366d3bbdf71ddc8a5baeeb580ae12bde50867829e628f1'
- '1980c0e617df8d91a525e1df378d49cea5a0c09fd74bca0e3e57e90c891d52ac'
- '66d949eb3fb687e71a019c558ea45de24932d6b7b04937ed0b32e4f82e6f0b6d'
- '8e116a53f97624e3e9f27705a2a37efa8d7f2d25dad3dcf58a9d9fb1c3019472'
- '168d7efd879e77f7ad7c3e4b736e486110f1a8225f487a440e63df412e013df1'
- '39f64a6acdc7c916ab73c279db67f0f51db77d756f2154ca22420695e8e5f95c'
- '05f2e3d25501ef42422e9e2624f15ea61f48a355148d867c29626af1b09a769d'
- '7de83d5ec93a97bfebe8a692313998c02479c8bef705983d3f976360a4a02094')
+ 'cd1d424120449b922d970b3fee89d753ae231354e4181a4d4700dc807504f6d1'
+ 'd920be2b1070c04a806745a91e15ab1139d5d2e97480755dd62642bc15222c40'
+ '9da12e3f1b9bccddddb673c7e8b613badecd2e71b28aaaccf16ea6ec4a64e095'
+ '151a7deaddafcdfd704abf7f933daafcc1f1465624b01a856f7c0ff02e3b8701'
+ 'f281a18cbd823db0331e351f02543249b90d414f9146579b52d45f2826463403'
+ 'b31c85a62f99cc6f8e043f52b16f977124f3ba89a0539b064b0b751910496689'
+ '5bb06005edc6dc5cad1836abf4bf2a79a71912a841ea5dcede9ee04c50410e3f'
+ '41d2fcc1cc5aed3f6036f6337bf93aaa9b37a32e99bd9145f4921a6a927b451b'
+ '28321a38846a06bed47996fe5f68c5579baa6c8804138866c307df0d26147fd5'
+ 'ee813026f6312a6f11572422f0bdac9bb866eb820d8fef917bde943747df18c1'
+ 'bfa9265887d64317841f85222638ec901cc95ec230670994f2231e65d4952836'
+ 'e29a9433a9f7b9b8d17bc4be1f95ebfd2c4982fefc3ca90372ae2d627f20ad71'
+ 'eedb7abd583f2a4b7a61f81ad79d5ff02159535faba07fc30088776e75837207'
+ 'b916e3be5c5529e321a8defb0397dadc45116d9d06378e86d7007d7babe9fb45'
+ '803d67f5d6729116b2d1d3ad619c174c122cbe57a51d36f96390f2b563405fa8'
+ '1140407c98f609ddcfeef4ad9a3538e3c68da86b3fa8a138ab042453e737645b'
+ '1dad4a61a98a594304708eb8c3056463b07482210cf404a1cc5ab96736eb9c94'
+ 'b54d1f3692b492ae7792ee42ba6c15e668e3ea76021496464feac0414bfcae52'
+ '552f2943a37ec9a3f997d904bd5b852d7cdf9977f0b8fbb87b511662f944e986'
+ 'aeb4bdb8cd8a5e1933b784e16ce121c6653b4aaa05c2c6f9b056309933521475'
+ 'f41fde901cc9210967ec39e3d258ad568d889f07a1f2fb1e10747ef933631cf0'
+ 'a7e856a42d8e021f1e1385857525e5ea751ff143ff725aa15eb6e1c6b78c76cd'
+ '78aa1c4f60ffc943b4541d8ebf08a9c804c7f8c0dad3264e6f09aacb1d5c9e74'
+ 'd27cd41dd6595ee588e18ed10736d84b2587f192b84efcaa99a172c055513f11'
+ '8ea7ae7a48e45854e194ff300510a7f10fb064a68bf0c9fa5cc8c54bb860fa44'
+ '100b0da1c56554c496cf93f1489aff171a6794371e0f2336206f408dc5dbb862'
+ '5161640824d3cd84dafe08f7fef762dbe00c6ec0cc0ada9669c72e42869804e6'
+ 'd32e7b469905e2831a311bf3b541330b530d57d7bc618d9e2f1e01d4fdf337e2'
+ 'e8264f71facb7aa89aa73ba19253d7d37b247d01bc98399c1bfcb9749b9b8e57'
+ '3fcf04ae1c549aa2408b131389bbbf7d96b3f5ae80ee51fbabcaf57f9af73581'
+ 'b258b88c3618cf03258e1f2a88b58ed8a9ac8d6f510cbedc65d30fd0d1833a5f'
+ '9a9ac947b7fa56ad90940214a383d1a2e284f1fae723683fdc03cc5cc044a7f9'
+ '81439f2a46fc2fcbaba27a790d13371bb29944dbce536adf3a4bc88c57c58708'
+ 'c614414408bd3ef96c0acae40c01cef76af07457f73ba3388f96ed646d0e93fb'
+ '3f652698258901e7dfc05751b9c44e6c6cb303b9580b8393b85aa5ba532a5145'
+ '6800858ccd1722bb805a899af954a62cff97feb6645648ee75cfcb8948628cef'
+ 'dc7703816f06360432c9f7d69eb4db6524db38605bb43dc33fa61be0582ada08'
+ 'cc1bf83672eba56775988c6671ac0101330df302ff7d3b34e3f8d84a3486ee2a'
+ '557458360291cf1b69634329b58e9f8d59f0e235ea23fe04c83692784aa05956'
+ 'a7fbb749c6222a020cc50ddd11428c16c3fc9b1349b757426b9d2e2204e2356d'
+ '0ecfed322da41c4e6b21a7fab03d61a2436f0f4e0898928f19eac28b52da8a05'
+ 'd5b5bec393b299367610794958ac2d7bef54ad2cc9a29ca2559c8c230bf6564b'
+ '998587a0074de0b0a26206c7de2cb83ff5bebd194e7ce184783fcc2d58eefe97'
+ '33a1c4dc8cee63c7640f7b492c171015b391f88b2629660b83845726925d1604'
+ 'f59e4ac38e6f60808bc7552da66a74a9b059f3e6fd8d1aef2999cac3b157de5a'
+ 'd152fa89d2e6769b00ef8a7c04debc6da8e8a7013a5faf92038651a99172bec9'
+ 'f4d0a47bef66689b53506078e961547c0100e7104a5960c9eec2341facad27d5'
+ '5d57f3e86f4e19daf5fa0fc5cb63aaff646d4cbd47a742c04ba77259c25dffb7'
+ '56dda066bd8e6367351d0790a2765a05813bf19b65aeab27cbdc133609a30b2c'
+ '8a2773b55f020278f658b7254dcedf0d17154b6f5d63400943cd15bf902c9019'
+ '09f3de38925c36734471ec2694094211236d1edae433280e7547ec57c8040826'
+ '5f3705d4270357b3e57fd26131155516fc51a47886a20ef143905e15334dd86a'
+ 'bb585f6cc8166e5445e84220cd432a99489ea898e58edcd7a0b0f2134ba73acd'
+ 'd95eeadbf12ae6e554a7f9a1453befc6dc3530b3e441491db4ed96aa7c355463'
+ '124146d36b56811e02c1f6a849611e4977a2189fd95b793b71347532caf76070'
+ '8e3c84b436a9d0465507bdf42dd42c9b26d23987fd7f7a46cad8dd9f6ad0afcc'
+ 'e372440fcafc54328c5df328fc22642924eec67fd05e33f8ad5a15cfdbef878b'
+ '2ba552e364815ddebef45de1e7442add05bd81d34516a512b4f6f59b9c3cfdfa')