archrelease: copy trunk to extra-x86_64
[arch-packages.git] / libreoffice-fresh-i18n / trunk / PKGBUILD
blob8ea99e10beab3bf08adbf358e89cf8b060326c55
1 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
2 # Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
4 pkgbase=libreoffice-fresh-i18n
6 pkgver=7.5.2
7 pkgrel=1
8 _rcver=${pkgver}.2
9 #_oodlver=${pkgver}.0.beta1
10 _oodlver=${pkgver}
12 arch=('any')
13 url="https://www.documentfoundation.org"
14 license=('LGPL')
16 #https://download.documentfoundation.org/mirrors/all.html
18 _url="https://download.documentfoundation.org/libreoffice/stable"
19 #_url="https://download.documentfoundation.org/libreoffice/testing"
20 #_url="https://dev-builds.libreoffice.org/pre-releases"
23 #_url+="/${pkgver}-rc2/rpm/x86_64"
24 #_url+="/${pkgver}/rpm/x86_64"
25 _url+="/${pkgver}/rpm/x86_64"
26 #_url+="/rpm/x86_64"
28 # https://wiki.documentfoundation.org/Language_Teams
29 # https://wiki.documentfoundation.org/Language/Support
31 _languages=(
32   'af            "Afrikaans"               0'
33   'am            "Amharic"                 1'
34   'ar            "Arabic"                  1'
35   'as            "Assamese (India)"        0'
36   'ast           "Asturianu"               1'
37   'be            "Belarusian"              0'
38   'bg            "Bulgarian"               1'
39   'bn-IN         "Bengali (India)"         1'
40   'bn            "Bengali"                 1'
41   'bo            "Tibetan"                 1'
42   'br            "Breton"                  0'
43   'brx           "Bodo"                    0'
44   'bs            "Bosnian"                 1'
45   'ca-valencia   "Catalan (Valencia)"      1'
46   'ca            "Catalan"                 1'
47   'ckb           "Central Kurdish / Soranî‎ / سۆرانی " 0'
48   'cs            "Czech"                   1'
49   'cy            "Welsh"                   0'
50   'da            "Danish"                  1'
51   'de            "German"                  1'
52   'dgo           "Dogri"                   0'
53   'dsb           "Sorbian: Lower Sorbian / Dolnoserbski" 0'
54   'dz            "Dzongkha"                1'
55   'el            "Greek"                   1'
56   'en-GB         "English (GB)"            1'
57   'en-ZA         "English (ZA)"            1'
58   'eo            "Esperanto"               1'
59   'es            "Spanish"                 1'
60   'et            "Estonian"                1'
61   'eu            "Basque"                  1'
62   'fa            "Persian"                 0'
63   'fi            "Finnish"                 1'
64   'fr            "French"                  1'
65   'fur           "Friulian / Friulan"      0'
66   'fy            "Frisian / West Frisian / Frysk / Fries" 0'
67   'ga            "Irish"                   0'
68   'gd            "Gaelic (Scottish)"       0'
69   'gl            "Galician"                1'
70   'gu            "Gujarati"                1'
71   'gug           "Guarani"                 0'
72   'he            "Hebrew"                  1'
73   'hi            "Hindi"                   1'
74   'hr            "Croatian"                1'
75   'hsb           "Sorbian: Upper Sorbian / Hornjoserbšćina" 0'
76   'hu            "Hungarian"               1'
77   'id            "Indonesian"              1'
78   'is            "Icelandic"               1'
79   'it            "Italian"                 1'
80   'ja            "Japanese"                1'
81   'ka            "Georgian"                1'
82   'kab           "Kabyle / Kabylian / Taqbaylit / Taqbaylit / Tazwawt" 0'
83   'kk            "Kazakh"                  0'
84   'km            "Khmer (Cambodia)"        1'
85   'kmr-Latn      "Kurdish"                 0'
86   'kn            "Kannada"                 0'
87   'ko            "Korean"                  1'
88   'kok           "Konkani"                 0'
89   'ks            "Kashmiri"                0'
90   'lb            "Luxembourgish"           0'
91   'lo            "Lao"                     1'
92   'lt            "Lithuanian"              1'
93   'lv            "Latvian"                 1'
94   'mai           "Maithili"                0'
95   'mk            "Macedonian"              1'
96   'ml            "Malayalam"               0'
97   'mn            "Mongolian"               0'
98   'mni           "Manipuri"                0'
99   'mr            "Marathi"                 0'
100   'my            "Burmese"                 0'
101   'nb            "Norwegian Bokmal"        1'
102   'ne            "Nepali"                  1'
103   'nl            "Dutch"                   1'
104   'nn            "Norwegian Nynorsk"       1'
105   'nr            "Ndebele (South)"         0'
106   'nso           "Northern Sotho"          0'
107   'oc            "Occitan"                 0'
108   'om            "Oromo"                   1'
109   'or            "Oriya"                   0'
110   'pa-IN         "Punjabi (India)"         0'
111   'pl            "Polish"                  1'
112   'pt-BR         "Portuguese (Brasil)"     1'
113   'pt            "Portuguese"              1'
114   'ro            "Romanian"                1'
115   'ru            "Russian"                 1'
116   'rw            "Kinyarwanda"             0'
117   'sa-IN         "Sanskrit (India)"        0'
118   'sat           "Santali"                 0'
119   'sd            "Sindhi"                  0'
120   'si            "Singhalese"              1'
121   'sid           "Sidama"                  1'
122   'sk            "Slovak"                  1'
123   'sl            "Slovenian"               1'
124   'sq            "Albanien"                1'
125   'sr-Latn       "Serbian (Latin)"         0'
126   'sr            "Serbian"                 0'
127   'ss            "Swati"                   0'
128   'st            "Southern Sotho"          0'
129   'sv            "Swedish"                 1'
130   'sw-TZ         "Swahili (Tanzania)"      0'
131   'szl           "Silesian"                0'
132   'ta            "Tamil"                   1'
133   'te            "Telugu"                  0'
134   'tg            "Tajik"                   1'
135   'th            "Thai"                    0'
136   'tn            "Tswana"                  0'
137   'tr            "Turkish"                 1'
138   'ts            "Tsonga"                  0'
139   'tt            "Tatar"                   0'
140   'ug            "Uighur"                  1'
141   'uk            "Ukrainian"               1'
142   'uz            "Uzbek"                   0'
143   've            "Venda"                   0'
144   'vec           "Venetian"                0'
145   'vi            "Vietnamese"              1'
146   'xh            "Xhosa"                   0'
147   'zh-CN         "Chinese (simplified)"    1'
148   'zh-TW         "Chinese (traditional)"   1'
149   'zu            "Zulu"                    0'
151 validpgpkeys=('C2839ECAD9408FBE9531C3E9F434A1EFAFEEAEA3') # "LibreOffice Build Team (CODE SIGNING KEY) <build@documentfoundation.org>"
152 sha256sums=('9969d8e0ead92b8d465ebf6d79c792af5f57dc4a1d5197dd2cc5fc09d5a01742'
153             'SKIP'
154             'd8c0773531ebf049aaf41830e17d76fa63aaecdf63abfbbafb08c63861a073cf'
155             'SKIP'
156             'da9e1741a869e17af457a8d406a35d5d5bc36bcc2ec35f6d57ab5e60064b9c35'
157             'SKIP'
158             '588fd1eb14f53ba534bc5b120164463b6ec911678152c5499c1a05ddb3b1aa44'
159             'SKIP'
160             '6d96282d6fd08c09c6e251cb40f46fd44bd2a418351bace0892a61d252509a5f'
161             'SKIP'
162             '4d6cdc02f8023b2f358a398b67ebc22dae50d1ae49ce8db957a9d6715fe66957'
163             'SKIP'
164             'e1ca7c312181893a75ed97b40b8fe4588796413ac3056f3bb446aac25bb054a4'
165             'SKIP'
166             'de53fe309a82208a9acee38e890d5be15ea18864ea68675b628471d16c182801'
167             'SKIP'
168             '8d33e7c8b3e0a77e5fe87e8e7d2d456128c5a5c91450139898bd2d4556fd5339'
169             'SKIP'
170             'a03c8ec90bfa4aa9de0d7eb4437256c25b1339c3d7ddd2523387af91bb8cc1b4'
171             'SKIP'
172             '438dadc6d4a9aacfbbc4420216db19ad83efbaee446416fc490e40a2d9802ca2'
173             'SKIP'
174             '055938f1b2e0281a57d73e9e2e01db37de8bedc32bcd56660d2861ee412ddb6d'
175             'SKIP'
176             '9051a6a14c201d2d2125ca3da658a561ed4d73c3846c78ca660f15403e36c340'
177             'SKIP'
178             '2fe49396c1a1f97b8967a97999e79fb548cc49fca2be3d2e224898d4f37b2456'
179             'SKIP'
180             'a0090ac2185ec05194d93d9efcc9f7cd2197114218eb5a63c905c1878676af76'
181             'SKIP'
182             'a3c7c182d893b9e0fe10116ef4d4d7741dcfef163074952259aa9965f54b9d5f'
183             'SKIP'
184             '3e9cb23e44fc0b249c3b318a92fbfe6d2c2002ce3e2fb74dee4fab5773a1a87c'
185             'SKIP'
186             '22a5dbeb099d19f81b6baea05cbfc3fee392722c83d8345f5092cccdb9e90348'
187             'SKIP'
188             '7a412cc22930d5674e2e999f90ee12d5aa2d31e1411a5594164ce341f5be93c0'
189             'SKIP'
190             'bf1801971b23e6ee842dc2b2af937d624d61aa49c4e8b00549bb867fb19f0535'
191             'SKIP'
192             'a119143ad9636481ff0f067c539609c9b1b2f55c1a35505741b1b347eb2d409f'
193             'SKIP'
194             'c3f88017347ec89381e195c81da97e3ad45a53140219cd8b70d3117c4f70c8ac'
195             'SKIP'
196             'ba5e0dfbcd29d5ee2d68364111dc838bd83d7c6cb422eb831d8a756172dfbb36'
197             'SKIP'
198             'fd483251f701d6142ded3f0a0a565a078f7dfea7a944d405571e4f482827be1a'
199             'SKIP'
200             '2d7ee771c9fc3ab4f1733d52efe3d1d24eb9e13083d727ba60beeef1091c1b6c'
201             'SKIP'
202             'a18fdded6061940368d7ba3039e1ecdb3678e43d96673b9d383f35335667cbd4'
203             'SKIP'
204             '05b11b372e07b7a68e879b9dbdd7ed2275529faa6a44a0fd58d213eaf4e57f44'
205             'SKIP'
206             'c9b1407827ee1f98469082741361f94f8c7e53f59dd88a8bd1232632e5293233'
207             'SKIP'
208             '539b8e0fd56b233fadf10fef9c0072991913f1c7c4bae2d3e4bfe73f207b8c49'
209             'SKIP'
210             '70bf9de9ee6e5c99b1c674ccc60b6b92e9f083110e5bb7f63237dc172a8fdb62'
211             'SKIP'
212             '58fb2c7e891224a48b759e1ae1483621301605fcfeebed565174d230089094cf'
213             'SKIP'
214             '02f91b796f346e1e109e837b6c6e0fffb34b1b179b49b95353d4f507d070feb6'
215             'SKIP'
216             '90ffa10fcd9014487da0169bb944bca93c0d1481550a4793c50c39af9002e6c3'
217             'SKIP'
218             '1eb25909ce742bebe96834de1a3ec5d0e355fa012cea95b2a9535ec8f2e159d7'
219             'SKIP'
220             '5a3e4e97ed03f45b512a71a00b91c36390c09083c5d238367f3d8e439f4448f2'
221             'SKIP'
222             'ffc7a60f2e580d3a7f5e96551b18fe35bbd6d9b646e8402a18cdd27c1e524518'
223             'SKIP'
224             'adc0eafa088ad8d35413206312bd00ce48cec715c104b08b462e0e1958d314fa'
225             'SKIP'
226             '2ac4adbf4f929a7411aff8b6e0b4529a2a488d40e3ca14918d15ea0ebd47c3bb'
227             'SKIP'
228             '9dba3b493f9fc13d852d6d51e9acf81c5d75bbad7bb9c57db9fd12f803a3f6ad'
229             'SKIP'
230             '810719f79833daac1bae5c8f055413c89821aee3fde51177f699aa4ffd2b26f8'
231             'SKIP'
232             'b2f2333b3f3dc1e9940a82cb8e12a77502754fadc6bc92591d24b2f8cd8427de'
233             'SKIP'
234             '70bc1fd281ce0522ebc94a2a7271d410ad7687e0dd73c61a8825561897bb725f'
235             'SKIP'
236             '3f658c5a7a2c77f652b728da24d98bf39fa505e3ce0906b58bf9404ae426985a'
237             'SKIP'
238             '63ec8fbeb206437ca44bd8d7d2f57151183b75ac4a4d98b9dab91534bc9c9957'
239             'SKIP'
240             'cad4a10dc749eb61ad1e6d1e3b0774bd4c5391ef83fab3d288581f8aae56dab3'
241             'SKIP'
242             '3f87474fcc40ad0a9bc0ef41c426c8f8e451257154de4e1535392673f4f64836'
243             'SKIP'
244             'dae0d25a8b0b88daab43b1bcbfe29e3bbd1e436b411f19762f586be49076f22e'
245             'SKIP'
246             '22c8ed819347004616c55fab77dd899e33bcf854422906e549106f4da54b9a61'
247             'SKIP'
248             '6642e1939d8c81976ef2824986a6d51ed735eec2f7777681089e4589d3862567'
249             'SKIP'
250             '66fd429549d548dbc896dfce0723ce8a64d181c9ea967146e97d415b71fb6b03'
251             'SKIP'
252             'ff3a79ccdeac8fac9220b7773c94dbb121a06fc0c55ef62b6ebeb35caab4170a'
253             'SKIP'
254             '9df27caa0c8e0d37704e33fc71526bf9d3bfd8061083bf8f12571262f7adb60f'
255             'SKIP'
256             'ec04c25d53a79645cbe1da182fb70dde8866ed66e0e5a4e47030b9a19cc10092'
257             'SKIP'
258             '1c90e8ec8633d668bcd4a65aef34d6996d5faba940115396799eaabcd0553b1b'
259             'SKIP'
260             'f12a4c0e6c26eaa9294a0d298970055bd480495220948ac095c3e74c3d1b32fb'
261             'SKIP'
262             'c754bab722a2b8ffcbb4ef325a4f8c8eb0d9c6e93c0045f22195861e169f8227'
263             'SKIP'
264             '5f54f6184da67b32de7ecdaf888eaaa70c89f636b495a1f7d7f38c67046346da'
265             'SKIP'
266             'baa6de6773c9309e07817dfabb0753df53ec80118ce218fe26ac5989c8b522d0'
267             'SKIP'
268             'b88a7593b5190529954a36db5d7c777cd6e49d038914579fec81e01cd735e9fa'
269             'SKIP'
270             '28e8309d9722dc0061876cc938e30f048c867eddc9eb763520e1f48a42d1c8b6'
271             'SKIP'
272             '6464e970195cac8ed6e707f40a72e18d372cc298370299f3bd18060be49f2599'
273             'SKIP'
274             'abc618fc11fc0ce0be2f43106004ee6efe3f89779ae0c7d97546614c30dd5872'
275             'SKIP'
276             '392a108345454cdca7ad4cf6678f6013e095ed80e561994d0f44f30882faa4d0'
277             'SKIP'
278             '39a430bc4f25136beff10b999087abc05a47c2d209129e93af91c265c7cd1a97'
279             'SKIP'
280             'a783959a5b7c4a11b8eb92eb60f1bc218e1b28689343d8a3219bebaac5dccf92'
281             'SKIP'
282             'adf83f55f11fcce2678caa272e10b7cfd01fc2969717f97ca38001974edacbd4'
283             'SKIP'
284             '316a2f32d2df34bb196593389e2855e671bec39adb9893fd75b2d0dd717133ba'
285             'SKIP'
286             '71e9372a19498c60f91e2de850d1ea32c33c2fa23a5be276c3cec7f603360978'
287             'SKIP'
288             'bec609458cd68d696fa0da2d23b43c3e42c30bb50301608c914b86c947de5d40'
289             'SKIP'
290             '0718c76d1a4b5ce4fd9290e826bd2b087286699cbb09a4a04a40038075ebefce'
291             'SKIP'
292             'd3e8d6ba3a58f599f039e11d1f0861c62693dd7abd0230427e1e89c8ffdecb7d'
293             'SKIP'
294             '092055350084903cbc72e4851106b7fde981eb443c6abb4cee8221cbd53ba686'
295             'SKIP'
296             'e95b85028280de283d005881643d5001b9233e6afa2f98f948541ce831a23f8f'
297             'SKIP'
298             'd06dab692b0b9f2229bc156fe68c9dadd19cd068e8051978e248f091255cb7ff'
299             'SKIP'
300             '45d5498a23329326ddc04af74edd917cc56241d33478393ee15b46618b207b69'
301             'SKIP'
302             'b8fc88572f450cd676589a70486888df0c51737eb3861f94411c4056785a97a3'
303             'SKIP'
304             'a8487e71aea36933c34bd7fd03dd2cfe52cc5c81f2ac301c7251106d0418c1b6'
305             'SKIP'
306             '077fbfe18fdf9fb11a2e82a1426a187743d353343a352818356010d02f3cda30'
307             'SKIP'
308             '91ee956a5e832264f5f585e7e0c6b547de60f71ee02114f8f35ed907b42e2e58'
309             'SKIP'
310             'f7acf9ebc97ba2d3185660752612906795b9c604ce69f5696dcfba0fb10d181b'
311             'SKIP'
312             '693ca333659d8cebc38451fb506d238f54cf17aae92332ed63933fb6b6d15fce'
313             'SKIP'
314             'bd6b46d02d895a810ee3e426924e8ca4bfb5d45520ab1761f9eec7a1798440fe'
315             'SKIP'
316             '4f84730f084fabec0bca9cd7f345496bbf3813a34a926c8d13e10b1da6fcd858'
317             'SKIP'
318             'ba37886425b2e1c19d7bcc8af6c082d698128cde785f225a00dca1768df9d105'
319             'SKIP'
320             'b59f4c66bd37a67ea120a12111eb5c6c871838506900c47e9e9f061baad42817'
321             'SKIP'
322             '2ad66203326480b6d7394bb25d1171927749bd70cb94b436b7b7ba407982b3a3'
323             'SKIP'
324             'cf8644c4decd2c74e0e763ef438a2729ccafab20545810bb158c04aa46c6339c'
325             'SKIP'
326             '13944694ef8ff1cfcb5964f672f28100534029017608ac1de4a60385fad941c7'
327             'SKIP'
328             '5c2c15570566f0518b67dbda90b02384a27fa5e242e8ff283d81b6a8c7c9e75f'
329             'SKIP'
330             '4002da61a11132f384a840d1744e66b37612d51c0b3d143f184b6a2370cd0ea8'
331             'SKIP'
332             '2fbbf9df68c77e8c51f03c915312e62773899e92d67fd13228efb0e757ba260c'
333             'SKIP'
334             '0b5ad409b5253c8e1e1e4bc5659ac33017a0ce3ddfd17e7e8f367303a3a1fcdd'
335             'SKIP'
336             'a6f100dc906a4658b4f04db71db0757423cc823070a352f5c868a6799ec2bb62'
337             'SKIP'
338             'b31944460ccf037a75ecc37d7f59803b2259d16bb95c881d45713010634a1ccb'
339             'SKIP'
340             '230654f29b9b179a913b5fe199e4e9eb5c25d633088a17bc042ad9645d00c541'
341             'SKIP'
342             '4faa425b64c9f0b86b54a49099f335b4979687d0da239c355ed96a062335776a'
343             'SKIP'
344             '87b505535a7aa21051618073fa4728131cf5c2bb7ceb8d4da879895707cbf2de'
345             'SKIP'
346             '99ca7da39fbcf8dec01ac33b131ce8f09c64c31e79f08f5bcb54c6cdd9e1875b'
347             'SKIP'
348             'd6d7f8862249dba80a010f50080c3e129db9403ba007b0c5a95fe8d2e3d8be74'
349             'SKIP'
350             '934768dda3c3037be5abff2b869a52f1b928d5598b896e4cb35643c038636b13'
351             'SKIP'
352             '7dbe5c62a035d3403b27800afd4442b35aa49dae15e76db4d0418271d4424904'
353             'SKIP'
354             '1b66b7dd06d0c237383f02a6db9e27180bd8bc8333d7655349e416e69b1ff9eb'
355             'SKIP'
356             '3c0469f82999d08a15e89592085f1baa560ed9efee87b550e378a624a4525860'
357             'SKIP'
358             '88b62314e639337d8018fccba82599e185ed5915c3d7fb51005072a482744de6'
359             'SKIP'
360             '68e2aeda4be78ed8ef78fc5058e59b313ef77da76ad879f96b8e81d313d73f99'
361             'SKIP'
362             'd40556722ea4e4351fc9a9c9dcc40e3cea3e65610c462a0b9e755acbcd683cb6'
363             'SKIP'
364             '51c22ca2d814c4348e48950e398fd0f32ceb885a3b9a277e4018b82e478830ff'
365             'SKIP'
366             '67062a228b514f5543ea9530b9b0f9edc7b23aeb773d8b74602a51306490d648'
367             'SKIP'
368             'dd1853293c346d3d37f1e4b85030d1fc63dded7d702616ce008113324f1da4de'
369             'SKIP'
370             'b8aaf1e87559ddf0bb4a4a6ed59a49ca6f6e78d9010e802d69949cdb478770e8'
371             'SKIP'
372             '372495ea3aa6729410a0d93737ba21bc7b4cd1eb07436d43c1cc9c5083e3e41b'
373             'SKIP'
374             '442bed6c64cc9533e508ed6b0dbc14da484be127626eda25151aeb36f175696c'
375             'SKIP'
376             '74f1641b46f3289cc49c57693f4576d105c16f83e634b55f567cc41df70fc591'
377             'SKIP'
378             '3aa840b89400fac34e5ba849a1a0f92b63b0d4c3ec308dc99a481a74c063801d'
379             'SKIP'
380             '53a3515523487a7e6476deb5c2fde90b45bbc8ae60f6ab6eb9351a3fff62cffa'
381             'SKIP'
382             '454a46111ce406970d28254ad19d21706aaf7b5e0b3df7d2b379f3dd8b4fe701'
383             'SKIP'
384             '424cb51785feb24161e533fc9dcb9c8fe4369e6f07350f3c62e8516a44daf1f5'
385             'SKIP'
386             '42177cea453d830dde09dfbb048943c44ad4076ee2d60eb54391a721d67343b7'
387             'SKIP'
388             '416b2dce544f800d6d45e00eff601c8123b1e3d1d1b6b59b564f240000fecae1'
389             'SKIP'
390             '018773f8f5af686270ad1f6b05aa146e30123123697b12003fdc96bf7ff1fdbf'
391             'SKIP'
392             '4cc2e15dfc3734bfbb649c240f941db112c9be0e3e53daf1cbece660c0d81012'
393             'SKIP'
394             '65bfab5ef3b79d63610cfa042f5ea62934594dee043f1877070f7d333ce2d217'
395             'SKIP'
396             '6d22716bbca76d867ea218283bf176b3c923ad5d55b0f7597fcc7dd03ac87344'
397             'SKIP'
398             'e710ad1a286e8974cbd0edaf92bc2c09f80205601a58aeea4063d01c6e7e8a5c'
399             'SKIP'
400             '1ce6e35f3e7a9a87b4e51788c3f8a0755f34e36da83747df5e5dee31e56f6ac5'
401             'SKIP'
402             'b2a71eebd0cfa78f69a7422f018ec2faa1265320e2aaf9304a0107a55ce40167'
403             'SKIP'
404             '45246d336977f571f06797b646805791b82504a444be7ea35c2b1b79a1056f6f'
405             'SKIP'
406             'd2230131031c3ebe57e22508b990045ee262a71b8ff815f4e2c4e8b9262ea5be'
407             'SKIP'
408             '042c4ec1d73e016bcf93d514c41764f731e88a3ad68b865704111b1c2f7ae10b'
409             'SKIP'
410             'a2ac36c6100f83a00fa70fb65a54d1297556b1ec26b3d669088299ad546db58f'
411             'SKIP'
412             '8d195d04b5c745d315d609a1cfdc69965968873030adb13a13587a1b3e83b4df'
413             'SKIP'
414             '41802466dfee8432484c4b0dba60048c7600d6a48eb48c8f029000825ab346df'
415             'SKIP'
416             'a921c7d2231b2e0552eb198c7320e0a1e5e7b521dd5b0081ed2bd2f3a5cb5912'
417             'SKIP'
418             'fc464bcb44ab981ae1737caf124188dae63df3d36a87f3a35b9d3eb209ad1ec8'
419             'SKIP'
420             '68f81d387dbe797fc0d56c59464e3082330fd9e53291b0c3c803ff66c7719672'
421             'SKIP'
422             '1fe8e34b04de8b1e73cfd111e5993a5951817c627c38759d42b40de2f2bed3af'
423             'SKIP'
424             '15140ca7fa4fed7fe26e1e1dbe76dd76c9cda19249156a3377f0c10ec4908184'
425             'SKIP'
426             '5713341419b24bcbf747036219419efe3cec685096e9b64fc7d6cf18caaa1e83'
427             'SKIP'
428             '816b10f7bedaa709a12f0a7a0d8cb2a71131ac30d4aca103c4aa336917f0e17b'
429             'SKIP'
430             'd9b3185a9710cd4d6c56aa399cd19d8159304cdeefd0ff2cf38869781a9cf6fd'
431             'SKIP'
432             '973b2c79840046f6e4b279a9dcd2613ed0290a4ac49e9071cf909009b3c8373b'
433             'SKIP'
434             '1a9d9e6545239054fcbeecc8c242f9def40ea3194b1c042abe477cc01fe5b8f5'
435             'SKIP'
436             '915a06b6f3e243f947a1c0d3927b560aadb7f75757e972cfe4a4d06d1cb999c4'
437             'SKIP'
438             'f294a97ee95f67c8829af395086005aedddadbdbcbe1ce0e960cabf71bc2cfa7'
439             'SKIP'
440             '7b233e6bf9c9c8960331da2be4ffd8850cfc7cf981ed4b4da8d457a89fbf9a0a'
441             'SKIP'
442             '4e54f44f324acfa7046aef6a0676ddc353748dea06bba7d18d3578d3a03412bb'
443             'SKIP'
444             '568dccd146b601987bebf78827b809b0bfe804d5aef966dffc2c8db3bcce5126'
445             'SKIP'
446             '6d75dc314647438d12cae4044323437e3a318edc31034fc6e198fe6494fcec14'
447             'SKIP'
448             'dcada6cd254b24e332be16f1da39a3d13ace74139b6d1e1b943a27d29e74c968'
449             'SKIP'
450             '0704918ed1c64ac56cf8f2869bc1d223f64b022aa6783301236b5168205c8995'
451             'SKIP'
452             'df2fe0acafedd2fcf500282afa5ffffa28c6833d0aa6d0048e19684e83b5a7bf'
453             'SKIP'
454             '77ed240ac2cba8a245da6aaa42371a3b2c5cbf7d6e8651e88acc393829cbd6c8'
455             'SKIP'
456             'df8ad39bdfae8a264bd76c09325cad1cd6132324bde9cecbbeb6059905b76870'
457             'SKIP'
458             '089bf5fcd5a78ad3e0987019d0e17e610c5a732dcd316e2d8c18d8c4bd841def'
459             'SKIP'
460             '71e12010b6163ffb3707a7be56c7aba1df41c44bf61d12532aada38ab85139ce'
461             'SKIP'
462             '2794ba3512d39172fc2b1561d691576e778e505db6864e323d892d96f82ff74c'
463             'SKIP'
464             '07f7129fe06b2bac06609e7b47cf0a2894905d2ac215ac0b4f671294443059ab'
465             'SKIP'
466             '4c6b22092ac79bfea3e2ad4896a327d146e5946636afe2675844ae28bfa358d6'
467             'SKIP'
468             '77e03cab0659efb0708312add585552e1a696d97e21e3fc50ea3d62ee24afff8'
469             'SKIP'
470             '031449d0e5784f2fbacf5ca891ee468513ad48ddba1112c10c714f3d17dc4263'
471             'SKIP'
472             '6d2d11250bb90536236c3d46caf254572e18049f6f6a48a967c3b5f0d2fa501e'
473             'SKIP'
474             '6e43795d4cbb452c2ed46ffeb9504754f63d8ceba2212d5bae6f80876b6d5acb'
475             'SKIP'
476             'bb30d3685ce962103bb451e775b1be03487538352440c236e508b56e13910288'
477             'SKIP'
478             '94379aa4d730ebef2e870ea207c2a4ed8fbd1c08516ca34ab9bd24cf2fe92285'
479             'SKIP'
480             'eb0ee9642e39ce93cbddfd831ce00d05b4350a176ed90605518a880c7c6a229a'
481             'SKIP'
482             '9400b8ac6aa0198a763c17d5231fc1d67a8ed07d538bd913b329ccd027294083'
483             'SKIP'
484             'ed417d383b313c19f3213e1ccec6ec7220a9ebde7c5073d03dd2cadffd689fa4'
485             'SKIP'
486             '55badb135a5d44ba1304a3b1b19c6f9522c74c483c8952ac26cfdd5d38cd8e82'
487             'SKIP'
488             '8f58eefc2d2c1492a646c1d138e648c067acfb7f86cd84558e19579351a8e994'
489             'SKIP'
490             '884aa4554db7a52333abe66f49d0804e08ebf0d2c4f547d097ee18dd66e60eaa'
491             'SKIP'
492             '6e619533f6699c3c7efba779b8ce00a50f04ce1f20134403f810ed2cb0ca57c2'
493             'SKIP'
494             '7b42bd892d096cc7ee5363ea374dc1f767cb1da9a2196be357a87dff31d79989'
495             'SKIP'
496             'ebd14549de56d6ff89a55d164e369124263f832f419f215b3a91dc020eb3352c'
497             'SKIP'
498             '919466f142cbce6d5398392b198612ccb28f13db9de9ae1cacdf49300148b7d9'
499             'SKIP'
500             'a38f40e26f586f3749c15d56c1dfca8996567723b4d94a634b951571120fb5da'
501             'SKIP'
502             '633ddf7b6daf9e58d887dc6cc79511aec6ea1d38254c6c5e7212c3ce9424c3a6'
503             'SKIP'
504             '0c3ccd4439d486f5d9222b26e1e008cc493da48590baa82ca9a14c2f8285986b'
505             'SKIP'
506             'a325ba1c9c4adcee8ae4e4890514e56b55760b33fcdcfe47995fce7410759739'
507             'SKIP'
508             '51435b79d87842a5a41f5ca12c6a9d68c54af1758aa3baa86075669c20b1baa2'
509             'SKIP'
510             '3601e101ece142c045e5ea81ebc09ffc4bf82097cd30a05b135fb1fa67070b3a'
511             'SKIP'
512             '7ca6de391f41acfaed2d5f7198433cd9497e43c644f9304bac796a5469b530ad'
513             'SKIP'
514             '78fdc0a557462e8ff924252e8ba72e9e4861d68c9afac7831fac7744c5f97fdf'
515             'SKIP')
517 prepare() {
518   for _lang in "${_languages[@]}"; do
519     declare -a "_langa=($_lang)"
520     _locale="${_langa[0]}"
521     _helppack="${_langa[2]}"
523     echo ${_locale} " unpacking..."
524     cd "${srcdir}"/LibreOffice_${_rcver}_Linux_x86-64_rpm_langpack_${_locale}/RPMS
526     # remove dictionaries if shipped - we ship them now in separate packages
527     rm -vf *-dict-*.rpm || /bin/true
529     for j in *.rpm
530       do bsdtar -x -f $j
531     done
533     # the helppack rpm goes also into the langpack dir
534     if (( $_helppack )); then
535       bsdtar -x -f "${srcdir}"/LibreOffice_${_rcver}_Linux_x86-64_rpm_helppack_${_locale}/RPMS/*.rpm
536     fi
537   done
540 _package() {
541   pkgdesc="$2 language pack for LibreOffice Fresh"
542   depends=('libreoffice-fresh')
543   provides=("libreoffice-$1")
544   conflicts=("libreoffice-$1")
545   if [[ $1 != ${1,,} ]]; then
546     replaces=(libreoffice-fresh-$1)
547   fi
549   cd "$srcdir"/LibreOffice_${_rcver}_Linux_x86-64_rpm_langpack_$1/RPMS
550   mkdir -p "$pkgdir"/usr/lib/libreoffice
551   cp -R opt/libreoffice*/* "$pkgdir"/usr/lib/libreoffice
552   chown root:root -R "$pkgdir"/usr/lib/libreoffice
555 for _lang in "${_languages[@]}"; do
556   declare -a "_langa=($_lang)"
557   _locale="${_langa[0]}"
558   _helppack="${_langa[2]}"
559   _pkgname=libreoffice-fresh-${_locale,,}
561   pkgname+=($_pkgname)
562   source+=(${_url}/LibreOffice_${_oodlver}_Linux_x86-64_rpm_langpack_${_locale}.tar.gz{,.asc})
564   if (( $_helppack )); then
565     source+=(${_url}/LibreOffice_${_oodlver}_Linux_x86-64_rpm_helppack_${_locale}.tar.gz{,.asc})
566   fi
568   eval "package_${_pkgname}() {
569     _package $_lang
570   }"
571 done