diff options
author | Andreas Grapentin <andreas@grapentin.org> | 2017-05-17 14:36:21 +0200 |
---|---|---|
committer | Andreas Grapentin <andreas@grapentin.org> | 2017-05-17 14:36:21 +0200 |
commit | 28fec439de64411a22175f08186a8da52019466b (patch) | |
tree | 7ed7ddfae82a6685c0088faa702329b454c074d8 /libre/icedove-l10n | |
parent | ffe3d5d4d4c95126f0e1a8eaf41e9eb00d95ada4 (diff) | |
download | abslibre-28fec439de64411a22175f08186a8da52019466b.tar.gz abslibre-28fec439de64411a22175f08186a8da52019466b.tar.bz2 abslibre-28fec439de64411a22175f08186a8da52019466b.zip |
icedove-l10n: integrated translations for iceowl
Diffstat (limited to 'libre/icedove-l10n')
-rw-r--r-- | libre/icedove-l10n/PKGBUILD | 119 |
1 files changed, 98 insertions, 21 deletions
diff --git a/libre/icedove-l10n/PKGBUILD b/libre/icedove-l10n/PKGBUILD index 7e5d0821a..d1bc8acf0 100644 --- a/libre/icedove-l10n/PKGBUILD +++ b/libre/icedove-l10n/PKGBUILD @@ -2,17 +2,18 @@ # Contributor: André Silva <emulatorman@riseup.net> # Contributor: Márcio Silva <coadde@riseup.net> -_oldname=thunderbird _pkgbase=icedove pkgbase=$_pkgbase-l10n +_calbase=iceowl epoch=1 pkgver=52.1.1 -pkgrel=1 +pkgrel=2 +_calver=5.4.1.1 arch=('any') -pkgdesc="Language pack for ${_pkgbase^}." +pkgdesc="Language pack for ${_pkgbase^} and ${_calbase}." url="http://packages.debian.org/sid/$_pkgbase" license=('MPL' 'GPL') @@ -83,14 +84,16 @@ _languages=( pkgname=() source=('brand.dtd' 'brand.properties' 'region.properties') -_url=https://ftp.mozilla.org/pub/mozilla.org/$_oldname/releases/$pkgver/linux-i686/xpi +_pkgurl=https://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$pkgver/linux-i686/xpi +_calurl=https://ftp.mozilla.org/pub/calendar/lightning/candidates/$_calver-candidates/build1/linux-i686 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::$_pkgurl/$_locale.xpi" + "$_calbase-l10n-$_calver-$_locale.xpi::$_calurl/lightning-$_calver.$_locale.linux-i686.xpi") eval "package_$_pkgname() { _package $_lang }" @@ -100,25 +103,40 @@ done noextract=(${source[@]%%::*}) _package() { - pkgdesc="$2 language pack for Icedove." - replaces=($_oldname-i18n-${1,,} $_pkgbase-l18n-${1,,}) - conflicts=($_oldname-i18n-${1,,} $_pkgbase-l18n-${1,,}) - provides=($_oldname-i18n-${1,,}) + pkgdesc="$2 language pack for Icedove and Iceowl." + replaces=(thunderbird-i18n-${1,,} $_pkgbase-l18n-${1,,}) + conflicts=(thunderbird-i18n-${1,,} $_pkgbase-l18n-${1,,}) + provides=(thunderbird-i18n-${1,,}) - unzip $_pkgbase-l10n-$pkgver-$1.xpi -d $1 + mkdir $1 + + unzip $_pkgbase-l10n-$pkgver-$1.xpi -d $1/$_pkgbase 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 - sed -i -e 's/thunderbird/icedove/' $1/install.rdf - rm -rv $1/chrome/$1/locale/$1/global-platform/{mac,win} - rm -rv $1/chrome/$1/locale/$1/messenger/searchplugins - cp -av /usr/lib/mozilla/searchplugins $1/chrome/$1/locale/$1/messenger - - cd $1 + + unzip $_calbase-l10n-$_calver-$1.xpi -d $1/$_calbase + rm -v $_calbase-l10n-$_calver-$1.xpi + + install -vDm644 $srcdir/brand.dtd $1/$_pkgbase/chrome/$1/locale/$1/branding + install -vDm644 $srcdir/brand.properties $1/$_pkgbase/chrome/$1/locale/$1/branding + install -vDm644 $srcdir/region.properties $1/$_pkgbase/chrome/$1/locale/$1/messenger-region + + cp -R $1/$_calbase/chrome/calendar-$1 $1/$_pkgbase/chrome/ + cp -R $1/$_calbase/chrome/lightning-$1 $1/$_pkgbase/chrome/ + + cat >> $1/$_pkgbase/chrome/de.manifest << EOF +locale calendar de calendar-de/locale/de/calendar/ +locale lightning de lightning-de/locale/de/lightning/ +EOF + + sed -i -e 's/thunderbird/icedove/' $1/$_pkgbase/install.rdf + rm -rv $1/$_pkgbase/chrome/$1/locale/$1/global-platform/{mac,win} + 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 . mv -v langpack-$1@$_pkgbase.mozilla.org.xpi $srcdir - cd .. + cd ../.. rm -rv $1 install -vDm644 langpack-$1@$_pkgbase.mozilla.org.xpi \ @@ -129,61 +147,120 @@ sha256sums=('49b419449431d8d64e20427a2e7105e3ac1ffc41e677a5f9a8eb276f5b82df4a' 'acc2cf95661be7cb8928fca89e08d0681685409ff2428e4e3d25baf1af427b38' 'e6edcc7c478d73ca5a17e4889acd302d55201ec5c29de545d3f44165201923db' '8989418e122cc3b92d2691e74db44cccfe238369e02e66fbb78832620978fcd3' + '56e67b0fce98b1c1d04559946903a743c07bc659738188c0232eec1f01418624' '44c8f31f8f6fdb34e5287e0bddae18257e85f5962b68be3a1f3a4c92ef5235d5' + 'bdbfb17cf494fc8b032912a0eaf7fb0fe2b9e1862d517ddc9d5cfa78b571244b' 'f48fde4ea03dcf4a257f13cb2c3c85c9a47f12e846c027964b8c89a62497b735' + 'ea59086aa024ea35554c4b17387fe56287e403701642ac713a638e3f045a0ac5' '36185e9fd2f82e422924336a331cec03b7581bab3411237e71b45f89e5635fa4' + '28a5d28f522d9de7664ee03d402dd8371d1d3525ba7e07b8c42c3ae7946ff7d0' '6a85c7568b7f4ff35becda3ba679d8eb85a4c00aef8836b26edf3bffd3383435' + 'c138b64965224206aa422dbdbc1bed19c1a6a1093a075f31bc94093b73c2c8fb' 'f59aad266c68c72fc55f56869591680b4c7fa433cda06d66c0eb20064edb6dcf' + 'c266be0405476160d1c5c93df30a62bdfabd675a0bc5a2e98b4bad0523be7d33' '4e1ae4b5bec308de0042373fda1f7202df576a3ef1edf574e805edb2666d3ff3' + '40e8238184f71d878da49604423bc6000b6b66ecd4c0783aaf8c8f531ca0e602' 'de56bde1e43551b20961fda8e1715a6d805ea9224b60ea80bfe3bcb05894253e' + '1f42d4bb91895f01d5a09d6b22f452b933d0f71f00cd9d08ceb007b230be4b17' '195db139fa9d56e9e74e7dda0a541adcc5d199786f460b64bb6f510e8dbb5dcf' + '562d09630f4a7fb5b18f3b4dd7199b4eb789620799d1d9c86562786e1d06324c' 'e3f698c3c694566ead0a740bb56f6a6c865f349f6affd8608d0492a1b9a90a1d' + '34388b199ae594ce9c87beaf7b59415da9e8c35644726ca0959a8f3cde1005c5' 'f23e5c40553c9ea9dcbc3fdd04a4a64dc751523b5431279e5d4af592bb21f48d' + '1f2521de49bee8cb787e69ca3b87135d31f4e167920e5ddebb912090787ffe04' 'a9742e533a925e6753d7d1b5bb9408d295bc5730b7c106824260f0194f70b2c8' + 'a7ec131966f24abe29e9d9b919f7ab617690818aaced78e38f7d31ece65fb8e4' '7a3910110d3e6cfbdca99a12b387ddd1f3fa37a0589c9571626271eb30363230' + '0119219219aa57a99ac0a52f516ed26d337ec9dc121dc60dd3e05a5b0df425cb' 'a53a70c4b7e184295130d54774f4fe079ec7ea4986874aa2835f50cdb59f0646' + '55f0ce5dcb0857e7c7113aa04f3385c3ba8992f34f586e2bef7b5903b6a32fd5' '761e992ae206dcb9d216886ef7ce7d78b2a3525d87aeac7a108ee8b08e0ccd5d' + 'd2689517c1224f09cdf326c3139bcf43f7a24178f9ff72295c56c04ab8415919' '45b58b0aad67eaa25d23fbf8c15dc800b349a253077414bcfbd174c37c31ccb9' + 'edb6e9f77a346c045158c30b59286ddf1a6e0c8717a7157922e742ece5ac7994' '29f8158a9e20c2ac464bca8e2875fd6155b2f8fb34cec03d38faf5bbca563d69' + '4cd2c94b4fe1d0c70103fb40c8a3981e2f5bf505f9a4df838651f1e7b766e32c' '574856171aa7c02b21c87772888c14bbb540eaa048ad6752e0030030a838aa9e' + '519189c8ec688e42725eda5523d4ce7e80414f24eb73f306967c3bf9b87157a5' '59be73eafbf4cbbf51318c75eedc48a157b8c7226640e39fa79a0cadf27cd0ef' + 'fd4989a67292badaf665e4d97f5432b6da01e53e3ada4a7a71ed44e3f214725d' '0f3bda7ffb6b9612b1dad155862cb5d5aa018f151755db33f92da93de8765c0a' + '68eea9fea7de1e3d91634018175294724cd85144a204eedc548252da0fd2e0fc' '309ef19ab2f8908461be3169effa5091059940577c6ad733b1752d58b0956f95' + '825fa46991425b23962e76fae2985267fab7a18e83a5be8bec84c4c1bf844d24' 'bae2d16a97756d9458b60d84ef73df94f040ecc39213abdb45e7f4148d7b214a' + 'ca7718ade8db58af9ade86341f62a4183dd613d6571c14bde7c085dc988804fc' '99ee91424007f96ff32f8fea1a38a3d79ff0f435c6c6fd0e22db2708e4cfc694' + '87cb5ac138acede3f5c284308cd37de31d6bf17e02ae5929693e39eab2b5a179' 'd4cca6dabca20202be03bdd7f734661a3edd1ad1db3e1fe9c9e1ebd0fd191138' + '51725e57cdda831533146d7a8b3877dbc127ee8e68e3cd6c5e2cb19c109b1dc7' '7bfd0facdf087912c129972e5ebfceb022dfaae6d391aad1535669f35efa91fb' + 'ca0603e31f8d47a12781afbda4db7e3be1af26fae30b62128f4c4e77647fa8b5' '464862f5df1ee1ea2baf2271f38ccacd05f06ef0bacf036525da5309391414a1' + 'd66e65bf591c6fef7ff80bbd87914fc40810a05f1ec612404a39464278aca23a' '77b5e1354eead17606bd0953964c2b0635018a6d0d8bb29967fd7ef6ce284f4a' + 'c8c3d8de01a718f5793f6a0cec7dc728736622a79976f61de33c2bdedf87b2ef' '68a06ff1f01b4108c7f0509370d13337b29035f3c2c539dcc3e6152fab10f88f' + 'bd788c5da5b871cc978b14110954e8f8673cb307e6cdd74d6bfaa4acaaf8eae1' '2bef50fdace350a57579b10cf29ec11af6cd90e7f526bf74dc63b0118ec32a6f' + '8583eb47833e4608af418e6649b17c5faecae950f72c6e16aed30445dc4931bb' 'fc3885a3cabfc8fa987df6d28fcfa25b8248717259fde1a30d4ad368805a09c4' + '27fa75c7b4417dcd24bdeeaff188bceec42fbb79be584784670dd19baae45da2' 'c490f42ba64d7b0ee64b0adc130428f8be4febadca4538a8e6dd821829ff99e8' + 'f4134b87247b2648c86da97081d5576a13a8321e73c0db39a936c49e6e0c683d' 'e3aa6a97453a03db3861244146ec7ed5fd6f7d787c78bae829460502805b9ae3' + '21af3c7d4416044f123b3c0adac869c40ca314e5ca2716785adf0e4a1beca361' '02878743a1b033e7274b32468f3549598badd41a73760e881c660eb02115d685' + '41c2533f223e8d567d4cd7d3ed38132427f6d40df45d08698ab1e1783adde7f7' '790e6aaf84525b87e6568d9aa538d55be84624a513a7102e7c21e77ed5b6e2f5' + '472357946d9c52789de830d354e3caed3a65d87d545720d2dee915775d93e371' '2753d87b1cda1b89047a4e1dcbfc2a3782a33d606a2bb1c6e261a537ba7e0174' + 'c7f38679d14dc0636e6fbd5fdfda39c6fa71078b5ceb6d861174b301d6fd3f19' 'c83d44349445a23dae904e4ca4636270e0333ff7be8581b353a1dfcf1b062bc5' + 'a2e1cd733ff3457b11179761e2bedf6a0f7578e4e1d8147d6ea6954b10181434' 'fd77205c5540eb04717d86a7c65f8e4519f7594e9343d7683bddb3def7b19806' + '3c6b015d1dbf044ee89d4cb772af564ae351cc8ce005d7d0c74eafee1da5b745' '4f3d71463d2533677e25975a1a6028aefab31fc4a1ddb8515afea0893c26d621' + '50aa578d64f64b9f58a58428a79348d1e2447f02ac1554ec73bf37c817a33987' '36c3c9739db6e0abc2eee2841a6137caf02c8bbbcb1b2de2db69adee417dd121' + '558a2f3f9444c2e3ea39a425f12f23b417f7e9d017f58d0f612af7725b32812a' '2672106f09d1a8c55afbcadc94ca5344a7a128a47ca3bab893360708a2332d7c' + '116388825a53e5513888b708f090f8f7c6ff44e08aa7bcc0f263c9f21a6f21d5' '111c9b043021a3c078d243e0ecfc77ce5b96801368216934dac86ef1c623fd8e' + 'ec2e8107fe3a70aa6b5fc4891d9d56f7b60fb5916c70d04355bd3bc277128012' '900d859d66c4f05c1a9db5df9d19682b3ecbd05001f3dfd888e9e833d56d63ac' + 'fd04f01e3ca1ad046a8569e803c238d8d4b29caf3d3a553927821e0ee30e55f8' '3ed1a5554e09ada1fa504f56327e58cf12559695eefad71c011fd829ead4f184' + '66c704998db0b71f106509abb618a94a7de91799d13271384e86e806d724f785' '9ddbcd520d1d56200cef0933a5a0e2cfc9a3555bbe009b2d883668b2bf617804' + '9a16c38d5c8947591ccf68438994307a1896315eaf2f32ebd601439bfe3287e3' '37d3e7cc420431524b0252048a81f987d44848d29d433da1297f23f87a2504e3' + '135801d0e3dbcd3c0e0e98bff3a8e217a91bdb81ee00725a6b5e48776a886941' '7da713a9624ad3bb504997f3161976d6fd92f960879872ec85cb47a4aec0b551' + '5426695111f4c52cc27ad6f6616ebd149d2e55771dd2fb6ec8f1cc0d18e271da' 'f03fb4c40f4ce052c0b709ee101b4ba738b0d1f5e9724dac7de08bfca816ac90' + '98f96619de50f6de72c086541b6d4f08ba3b02396951b010f1e72bd6d9ccc62c' '147b98ce414b8570f9d9ade1423487ed2a1801978b113b9d10cf506783c88a1b' + '70007f22a5353d3da8ac11b50b294ca01b266c25dd570da3135143d1ebe94fd2' '644e60ebbb42e2bda79681bedf747ebaea7172f91739190985eb44171d3a0d95' + 'bd7a8dc57248afab2bb52484bfe6c8b52473f7fcb42e43224b03bf274af8ad97' '6191e56b2ae8e0617414ca5c3a6f22056596983f45439cea8b01ad52d22b5376' + 'a2aaf0270e13dfe8621c2326503953d5239bff04747cd2c805935b09f97dfa00' '942458c9049c927b9287f8dbd1fb17bc944e7a6c90f181d2b050709742741fdc' + 'bb9fca01eddd6a24410939d4de1e127f625c2cb019e75a9f9a4bf5467925f597' '948b10e7311a5e6907f1c606887f29d69cfa86ed4c9968690e0456b102ce95a1' + '4936b8f053742529cf9c220b7e04c0b73cb40918b12eb36eb3e009f4f713673f' '4d51f169f6c7c780c42ef4f330cf7b518eec27f13816f4e9e3358d4bd011564d' + '161e1157311676c876856a3c51732c7fa0585a2c2191269b3e0201013bfce840' '3a3537d063d5ec33726b4feef86fd1f84a37ef8004647bc2c14626cf0944521f' + '1f6a086fc38a0ffb058cbecbd2e4ae5b75b0d3d4576cb94aa7acb99c6b4d123f' '8f919bef670da5a1fc99a42a3028be14a818764abf4b821ea84f095b65d97a06' + 'fb6ae16e0d2a0f6942e717d65ea9d13ba7794078f6a76f1a7e8afdde7aa47d91' '798cd3910ef1ce076b1afe0007ac33a9791a466ffa0b7773d4c6f141d72cdb92' + '000d51862041f24eaf447e486be5ebb1086d9ff268c9664312ca95a61e63ec93' '26f58c791d9c20696b265fdac8e463a1f4a4c5187fe28fc18ecaf7c6511e5d69' + '190c249ff8214512eae70b2b5128b3ecd0f79e9ffb7124c798f9c916bcd1879e' '628dc0c2565586b7ea9cae3e72ae6d6b285f57bcabf3304070e78b59653865f4' - '706882e9356551b2d9e7e26e89ccc3bb4db76278f2a71a20c7c5fa6b79a2b710') + 'c5cd1d5da237e0b6e00373c2e1cc44f5d8cce03ecc20bd348490da17a299b85a' + '706882e9356551b2d9e7e26e89ccc3bb4db76278f2a71a20c7c5fa6b79a2b710' + '1bda41ccee2e6263f3951c7b18e78ec5788ddd6e0f147402b19dcc14e3154834') |