Date: Thursday, June 23, 2016 @ 17:45:30 Author: andyrtr Revision: 270502
archrelease: copy trunk to extra-any Added: libreoffice-fresh-i18n/repos/extra-any/PKGBUILD (from rev 270501, libreoffice-fresh-i18n/trunk/PKGBUILD) Deleted: libreoffice-fresh-i18n/repos/extra-any/PKGBUILD ----------+ PKGBUILD | 708 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 354 insertions(+), 354 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2016-06-23 17:44:47 UTC (rev 270501) +++ PKGBUILD 2016-06-23 17:45:30 UTC (rev 270502) @@ -1,354 +0,0 @@ -# $Id$ -# Maintainer: Andreas Radke <andy...@archlinux.org> -# Maintainer: Bartłomiej Piotrowski <bpiotrow...@archlinux.org> - -pkgbase=libreoffice-fresh-i18n - -pkgver=5.1.3 -pkgrel=1 -_rcver=${pkgver}.2 -#_oodlver=${pkgver}.0.beta1 -_oodlver=${pkgver} - -arch=('any') -url="http://www.documentfoundation.org" -license=('LGPL') -makedepends=('rpmextract') - -#http://download.documentfoundation.org/mirrors/all.html -_url="http://download.documentfoundation.org/libreoffice/stable" -#_url="http://download.documentfoundation.org/libreoffice/testing" -#_url="http://dev-builds.libreoffice.org/pre-releases" -#_url="http://www.libreoffice.org/download/pre-releases" - -#_url+="/${pkgver}-rc2/rpm/x86" -_url+="/${pkgver}/rpm/x86" -#_url+="/rpm/x86" - -_languages=( - 'af "Afrikaans"' - 'am "Amharic"' - 'ar "Arabic"' - 'as "Assamese (India)"' - 'ast "Asturianu"' - 'be "Belarusian"' - 'bg "Bulgarian"' - 'bn "Bengali"' - 'bn-IN "Bengali (India)"' - 'bo "Tibetan"' - 'br "Breton"' - 'brx "Bodo"' - 'bs "Bosnian"' - 'ca "Catalan"' - 'ca-valencia "Catalan (Valencia)"' - 'cs "Czech"' - 'cy "Welsh"' - 'da "Danish"' - 'de "German"' - 'dgo "Dogri"' - 'dz "Dzongkha"' - 'el "Greek"' - 'en-GB "English (GB)"' - 'en-ZA "English (ZA)"' - 'eo "Esperanto"' - 'es "Spanish"' - 'et "Estonian"' - 'eu "Basque"' - 'fa "Persian"' - 'fi "Finnish"' - 'fr "French"' - 'ga "Irish"' - 'gd "Gaelic (Scottish)"' - 'gl "Galician"' - 'gu "Gujarati"' - 'he "Hebrew"' - 'hi "Hindi"' - 'hr "Croatian"' - 'hu "Hungarian"' - 'id "Indonesian"' - 'is "Icelandic"' - 'it "Italian"' - 'ja "Japanese"' - 'ka "Georgian"' - 'kk "Kazakh"' - 'km "Khmer (Cambodia)"' - 'kmr-Latn "Kurdish"' - 'kn "Kannada"' - 'ko "Korean"' - 'kok "Konkani"' - 'ks "Kashmiri"' - 'lb "Luxembourgish"' - 'lo "Lao"' - 'lt "Lithuanian"' - 'lv "Latvian"' - 'mai "Maithili"' - 'mk "Macedonian"' - 'ml "Malayalam"' - 'mn "Mongolian"' - 'mni "Manipuri"' - 'mr "Marathi"' - 'my "Burmese"' - 'nb "Norwegian Bokmal"' - 'ne "Nepali"' - 'nl "Dutch"' - 'nn "Norwegian Nynorsk"' - 'nr "Ndebele (South)"' - 'nso "Northern Sotho"' - 'oc "Occitan"' - 'om "Oromo"' - 'or "Oriya"' - 'pa-IN "Punjabi (India)"' - 'pl "Polish"' - 'pt "Portuguese"' - 'pt-BR "Portuguese (Brasil)"' - 'ro "Romanian"' - 'ru "Russian"' - 'rw "Kinyarwanda"' - 'sa-IN "Sanskrit (India)"' - 'sat "Santali"' - 'sd "Sindhi"' - 'si "Singhalese"' - 'sid "Sidama"' - 'sk "Slovak"' - 'sl "Slovenian"' - 'sq "Albanien"' - 'sr "Serbian"' - 'sr-Latn "Serbian (Latin)"' - 'ss "Swati"' - 'st "Southern Sotho"' - 'sv "Swedish"' - 'sw-TZ "Swahili (Tanzania)"' - 'ta "Tamil"' - 'te "Telugu"' - 'tg "Tajik"' - 'th "Thai"' - 'tn "Tswana"' - 'tr "Turkish"' - 'ts "Tsonga"' - 'tt "Tatar"' - 'ug "Uighur"' - 'uk "Ukrainian"' - 'uz "Uzbek"' - 've "Venda"' - 'vi "Vietnamese"' - 'xh "Xhosa"' - 'zh-CN "Chinese (simplified)"' - 'zh-TW "Chinese (traditional)"' - 'zu "Zulu"' -) -md5sums=('359a8b31d6cde5ea515ffea517fee081' - '5b19a6c6314af4563ca566fca679d25b' - 'bdfcb1d34961f9c7dff8c87aef776ea8' - 'cb27a74ca83b989da900d91c3177b4fe' - 'aaaceea90f8da4ce1e84d691b2f6ad3c' - 'cdca3f555e33e101c044dac506fa7148' - '24d24e3712e28340e568b758c2c6b75b' - 'f87a5fbf57734ca6a68b28453b8bc9a1' - 'a08ddf7f2d17a933738294316ab9086e' - '07899a039d96b0a66e49873e049fb007' - '927edc5bd915366391c525c98198740c' - 'c338aff02c5095c7d8ded9b7888d42c3' - '2761664d70f9597b0be992e48e376878' - 'dac8ddab5b3cc1eea509449053a6e6b6' - '3d10e619a13be7a8840ef7e7aacadcd3' - 'b9b895bd829acdd8e87d21e73c00a41c' - '2e9fb8e89757cef1e9c0d6a3dddaea08' - 'b2704853728604f68ba6ae46f62fdd0f' - '5381e3cd9de32b9403dea839e27d1223' - '52f85912bafb4c6969b47472cefa5791' - '0558eef27a35a8a138b47c50351000f5' - 'fed52dd0c46a69fb4115d5017b976a4c' - 'a6a042688fa1fc5dceeb80fd69166ab8' - '85dab4e4bb12c016387d10219bb1d1d2' - '39d04b7d9862cbca3cb15ba867500780' - '9c8f8c85c51dcdb8d888492222d550d6' - '8e5691d90fce008dcff2b10c02b4dfe9' - 'f320c06ccb28ed1c1a84e127a1b42de3' - 'd28651eb7785a3b847c01671d7f3a9ce' - '2e735ea66b5396dd1747f6b31bab6a08' - 'd882b60464344cb40a8bc92de279faad' - 'cb365aadf0fd21f8682836e8aad6ee8a' - 'c078db0313188fbdac4e022c5155d0fe' - '402804d08333febc1042abd3b187b183' - '36e82a6deb10f678db9c20e7c7690c55' - 'e2cf8c75f0889da4869bb3ad688e27f0' - '209bb05c5ccbe3a5bde26b834674a568' - '6b09249adf203c085987e962955b519a' - '4cc6de8b33cee0f0fd4a4cefe226797d' - '7df22b131dbeb01b6b831c6873788143' - '16e3b9dc787b9b041cf746adbcfb2874' - '2db47f14a2aecd725a124687e9bd8b12' - '51375b05eb3f7a327d2e5ab734e29d8b' - '51c98ce27730870a96dd1ae88f4a1724' - '7d7114ba99d5b62b89065f65c185c233' - '949627ecea2036c69e28ac6e2fa372ba' - 'b88b9f863ba715741a4b41bd42c9faaf' - '4375f3ff2f8c19e8dadecf3b4a41661f' - '50b6e06c0fa78a7a6352a4d41b172690' - '7aa8892dc20f562d007b80623ec407a2' - '81f7f1f2654329abd5ab4926b4327c9c' - '9987e83548aed5cf5338dbc5997763d7' - '5d75552fbcc9f5aa012edcc3beaeea0a' - '762d486f5407fc81501c58e7f5dc404f' - '1398da384fca4f754a66bf870e7759d3' - '086d974d378853a37f4f411d08a81e4b' - '35f389d51aaf42a1eb094560a7b6f115' - '8ca35d7c242ebdd721a72743008de4f6' - 'f17f96a945326b92050874c6d5b2bc26' - 'dc7484be9d1357ea91520f50b19afb72' - 'ffdcd78a676938faa101f652489fc898' - 'd22d7d0827d0cc12d29fd210b7c976ce' - '4886306c24a998d9743f3efc64c3274c' - '96cd664e6885582c3a0840c84e86f535' - 'b0a95a3bc5ff66cff54129ccb13ad0f3' - 'ac182eb814c079853fe7f19d8dd71274' - '2c85e2a12c8f6bc6117f2cf059a8d202' - '65a24a69535fbfd75a4507225622fc80' - '6bfdbca83f794841d49178b30725c54f' - '876e6672ae8987190eeb27252d335899' - '69474d7adbf2b6f78af3ec2709d11007' - '878f66b93f8fea98dd6a2c275c641959' - '4b28ae5d8c68928251d65814d267a850' - '14c7dc9254e25ffa51fbe3c2296bbcfb' - '55515959312c108116cf1a4a46c52545' - '066a18cec7715bded11bf3452bd4647b' - '32064da899512ae190ddae74432b033a' - '119ba10bdb025f0056a00d752053358a' - 'ff77baf687afc0b68ce6bcdc2b459cba' - '03ab91176cd6fb1c4d9a6d553390a41f' - '24e6faf405b64e8f9668d056beceacb5' - '563265403d71e4a71b5f67962003aa5f' - 'dd3f7901ffcae5e9cfce97dc917dfb2a' - '3241734771757b2b9adcdf5befd79fca' - '79e11c66a1f8b00164b9f0ccdbee24bb' - '0084e44e00abbc74616f57435a01ba90' - 'c8a4206d32fca97b1cc3ce43e6a53e8b' - 'd275c737b66d2123f77591e3ec66324c' - '4b50df326387a972f86aa58990df149e' - '4b50effa985c10d24e8228af780ba3aa' - '9f726f456236785a5f6647cd7fa57742' - '791b1592291addce785e0dd1925626be' - 'f4e6f3c348ee55ac5b7d436473d171bd' - '3378135c292020a197d6eae5cd323616' - 'af7a6e35f88a3fb95024cda6feefc0a0' - '276ff9a52a6c025f6b0c984cde26d33f' - '8648a394764a12c4173e253d3fbd5ab9' - '650f95de70e289c64b86024229afce18' - '0b1c8234ceeac40741f6e24e44a01da3' - 'd156a4b6ed9e957bee4399903962eb1e' - '445a669bb1359bf6bcb2054aae6dd4bf' - '01bf9edcb10037fe448a18945b07d42f' - 'd79548111c1b10990da30d044d4ce9e3' - '191f661ff23ebc3ad39df8251db62853' - '0b8972115ece07a472511aac0d5f13e0' - 'e6539a3ff11aaa984f9a80d1091a5d8e' - 'd81c102cf07879c9ee01627f8227c099' - '85c85a53a6d5f7dcc6eea7adae7da61e' - '3093427475d0ab16241e60e89554966e' - 'da5c4b156c4f50c5e7549bd47769df73' - '8865e016f296cc3337bb4bb9408470f2' - '5080f9a619f981ee3334967ac909ff73' - '23c3c2c763769c4aae5b9ee41751cc5d' - 'ed3c74654298fab83700d0abe2e113c4' - 'b1a46399309407937ba8d42fc25b2a7b' - 'f764cc142733424dd5b5fd5823e7b0c9' - '506761cdfe1275e641793679e4d0f675' - '6c42e3b7be44e3dfa7e9493b6e56ea9f' - 'e98cbc7e7251c5d98592e00587900f23' - 'd765a200d43c53a8001645e1a3177429' - '3cc044e5ad2ffb9e907fb4c20578a80a' - 'f773bccaebe4fd0fa856dbeee4c1439a' - '2beb3381afb6ff0fdcc89f3bd6c5f19e' - '6438aa814d0ad8cccc6a9f828f14f87d' - '9304944438f4f2c2e4171dbbdf72d6bd' - '75a512ea614a52ce0f7ff808d10d2827' - '75c18de0ae5623eb36a9f56f88509e4c' - '703956ae6826590061063fefc59eb976' - '990cad5d08d5a39487f487cfffa6caef' - 'f439f4bc43ae7b1db17000c61c146cf2' - 'b04867e1a70f629ce72051bffca84373' - '50e144c881d0eb5ee139c299562c194f' - '81a85be286bfd83bfa0c36b76df7a5c4' - '5aedf8aefa5528a8e8154804dcdcb1db' - '099689d3b76daaf293306947e69e9078' - '706b62f8e4be34c4bff4e0c2ed8b69c6' - '186ee2f6756f7e565f269d2f4e24d4b7' - '1f3271e17b2ec7db38b4da592e08ac5d' - '13360c30cdd3cc39d09ed4c210167046' - '0f47b189ce7b652836e906be5aa678ab' - 'b4b1cfc9024107ab6633d4e8d97c6795' - 'd7f3cbcd37525f28270a0dc320dc202f' - '475c33e15214e4df5061f3a016860aa9' - '8fc90d2096f91021dee91e1c5c65129f' - '2f19cbb2ddb3fc4050eb9c71e166bd58' - '49d67e58d0c11db7bc35d1f370376415' - '5f8c2a1feb6a6f9741cb612064c81ae2' - '316adf22c9e24dd5b581cd504ea43308' - '0083f8a7d0e29c66a71dcda0b3593d68' - '79b032a4e0357cc4f247eea614916eea' - 'ba117e0f1c977f7745a23d1cb757d540' - '8550ffd8b08006821844fa77ead07b07' - '8ee01ba0982a7273beb0053dbc73b63c' - '9c50f0bb2e2a29308c8ce9e994d51b62' - '232190a1dcd1999ab99be6d84d5c84c4' - '67653d8d85216338b8a1c1bbb37a84fc' - 'fd8a6746caccbe4aafffe7dd6a302b35' - '01b804d796c3dd123a729b92abd4a2e3' - 'd1e60f7bba789f668582b81575fd0e73' - '4b33165bf1592c00ca309248ec351de6' - 'b386f835559dae28c74d1bc6e4c0e495' - 'ad50c00a7811eb1203357a74ebc27739' - '613eb50c38b6f0d3cd375773d1e9c800' - 'a9b7a4b8e071d678771d9c71bd290184' - 'd879b062d661fe6597961c29129c5bc3' - '108bafd82fd2416952251304c9c970c4') - -prepare() { - for i in ${pkgname[@]}; do - _pkglang=${i#*-} - _pkglang=${_pkglang/fresh-} - - echo ${_pkglang} " unpacking..." - cd "${srcdir}"/LibreOffice_${_rcver}_Linux_x86_rpm_langpack_${_pkglang}/RPMS - - # remove dictionaries if shipped - we ship them now in separate packages - rm -vf *-dict-*.rpm || /bin/true - - for j in *.rpm - do rpmextract.sh $j - done - - # the helppack rpm goes also into the langpack dir - rpmextract.sh \ - "${srcdir}"/LibreOffice_${_rcver}_Linux_x86_rpm_helppack_${_pkglang}/RPMS/*.rpm \ - || true - done -} - -_package() { - pkgdesc="$2 language pack for LibreOffice Fresh" - depends=('libreoffice-fresh') - provides=("openoffice-$1" "libreoffice-$1") - conflicts=("openoffice-$1" "libreoffice-$1") - replaces=("openoffice-$1") - - cd "$srcdir"/LibreOffice_${_rcver}_Linux_x86_rpm_langpack_$1/RPMS - mkdir -p "$pkgdir"/usr/lib/libreoffice - cp -R opt/libreoffice*/* "$pkgdir"/usr/lib/libreoffice - chown root:root -R "$pkgdir"/usr/lib/libreoffice -} - -for _lang in "${_languages[@]}"; do - _locale=${_lang%% *} - _pkgname=libreoffice-fresh-$_locale - source+=(${_url}/LibreOffice_${_oodlver}_Linux_x86_rpm_langpack_${_locale}.tar.gz) - - if curl -o /dev/null -s -I -f ${_url}/LibreOffice_${_oodlver}_Linux_x86_rpm_helppack_${_locale}.tar.gz; then - source+=(${_url}/LibreOffice_${_oodlver}_Linux_x86_rpm_helppack_${_locale}.tar.gz) - fi - - pkgname+=($_pkgname) - eval "package_${_pkgname}() { - _package $_lang - }" -done Copied: libreoffice-fresh-i18n/repos/extra-any/PKGBUILD (from rev 270501, libreoffice-fresh-i18n/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2016-06-23 17:45:30 UTC (rev 270502) @@ -0,0 +1,354 @@ +# $Id$ +# Maintainer: Andreas Radke <andy...@archlinux.org> +# Maintainer: Bartłomiej Piotrowski <bpiotrow...@archlinux.org> + +pkgbase=libreoffice-fresh-i18n + +pkgver=5.1.4 +pkgrel=1 +_rcver=${pkgver}.2 +#_oodlver=${pkgver}.0.beta1 +_oodlver=${pkgver} + +arch=('any') +url="http://www.documentfoundation.org" +license=('LGPL') +makedepends=('rpmextract') + +#http://download.documentfoundation.org/mirrors/all.html +_url="http://download.documentfoundation.org/libreoffice/stable" +#_url="http://download.documentfoundation.org/libreoffice/testing" +#_url="http://dev-builds.libreoffice.org/pre-releases" +#_url="http://www.libreoffice.org/download/pre-releases" + +#_url+="/${pkgver}-rc2/rpm/x86" +_url+="/${pkgver}/rpm/x86" +#_url+="/rpm/x86" + +_languages=( + 'af "Afrikaans"' + 'am "Amharic"' + 'ar "Arabic"' + 'as "Assamese (India)"' + 'ast "Asturianu"' + 'be "Belarusian"' + 'bg "Bulgarian"' + 'bn "Bengali"' + 'bn-IN "Bengali (India)"' + 'bo "Tibetan"' + 'br "Breton"' + 'brx "Bodo"' + 'bs "Bosnian"' + 'ca "Catalan"' + 'ca-valencia "Catalan (Valencia)"' + 'cs "Czech"' + 'cy "Welsh"' + 'da "Danish"' + 'de "German"' + 'dgo "Dogri"' + 'dz "Dzongkha"' + 'el "Greek"' + 'en-GB "English (GB)"' + 'en-ZA "English (ZA)"' + 'eo "Esperanto"' + 'es "Spanish"' + 'et "Estonian"' + 'eu "Basque"' + 'fa "Persian"' + 'fi "Finnish"' + 'fr "French"' + 'ga "Irish"' + 'gd "Gaelic (Scottish)"' + 'gl "Galician"' + 'gu "Gujarati"' + 'he "Hebrew"' + 'hi "Hindi"' + 'hr "Croatian"' + 'hu "Hungarian"' + 'id "Indonesian"' + 'is "Icelandic"' + 'it "Italian"' + 'ja "Japanese"' + 'ka "Georgian"' + 'kk "Kazakh"' + 'km "Khmer (Cambodia)"' + 'kmr-Latn "Kurdish"' + 'kn "Kannada"' + 'ko "Korean"' + 'kok "Konkani"' + 'ks "Kashmiri"' + 'lb "Luxembourgish"' + 'lo "Lao"' + 'lt "Lithuanian"' + 'lv "Latvian"' + 'mai "Maithili"' + 'mk "Macedonian"' + 'ml "Malayalam"' + 'mn "Mongolian"' + 'mni "Manipuri"' + 'mr "Marathi"' + 'my "Burmese"' + 'nb "Norwegian Bokmal"' + 'ne "Nepali"' + 'nl "Dutch"' + 'nn "Norwegian Nynorsk"' + 'nr "Ndebele (South)"' + 'nso "Northern Sotho"' + 'oc "Occitan"' + 'om "Oromo"' + 'or "Oriya"' + 'pa-IN "Punjabi (India)"' + 'pl "Polish"' + 'pt "Portuguese"' + 'pt-BR "Portuguese (Brasil)"' + 'ro "Romanian"' + 'ru "Russian"' + 'rw "Kinyarwanda"' + 'sa-IN "Sanskrit (India)"' + 'sat "Santali"' + 'sd "Sindhi"' + 'si "Singhalese"' + 'sid "Sidama"' + 'sk "Slovak"' + 'sl "Slovenian"' + 'sq "Albanien"' + 'sr "Serbian"' + 'sr-Latn "Serbian (Latin)"' + 'ss "Swati"' + 'st "Southern Sotho"' + 'sv "Swedish"' + 'sw-TZ "Swahili (Tanzania)"' + 'ta "Tamil"' + 'te "Telugu"' + 'tg "Tajik"' + 'th "Thai"' + 'tn "Tswana"' + 'tr "Turkish"' + 'ts "Tsonga"' + 'tt "Tatar"' + 'ug "Uighur"' + 'uk "Ukrainian"' + 'uz "Uzbek"' + 've "Venda"' + 'vi "Vietnamese"' + 'xh "Xhosa"' + 'zh-CN "Chinese (simplified)"' + 'zh-TW "Chinese (traditional)"' + 'zu "Zulu"' +) +md5sums=('03ced6b91657b37116ad7922ed5cc510' + '92980b8f3c96f8798d9205e9c69b8f4e' + '4ae5ce1b6e077d9895bc6c8deef369b3' + 'cc4d57040aa8c4a8701429435b1f84d3' + 'c293aff4f80149a6b429150aeae7031a' + '921529aba2ae22efa6659efa7346d075' + '6e678c078c24f557d24474f0f8576939' + '6b048cadf7c90dbda32b2a0d3a9a72d8' + '2eb7c7e345d0ec3ea3366c5dd474726d' + 'ab5bfb557bfb093d06901765349040d1' + '7362ba0f4a46d65b5a4b686f842f96c6' + '1c520a0d41f9b1b856792ca8f38e221d' + '6d27448edea3c487530733546526b6d9' + '3a3a2a7a6e6b104a0aad2f9336d02148' + 'dd89cf030a1d88577d21e1afef177fcb' + '6234ff02053107b8946fbbf8c3418f6e' + '78ca198a470b500af8e7aeb50676486e' + '604472a329c6340e4a7e2c629bf372a2' + 'fd923ee1dac8ba8831bbe3f0327c79cd' + '0a6ce58e5efc1fb747e2f605864b5de2' + '1639016724dc33a3d64a2bd4a1ebeef5' + 'b7be99aa966202d6857ab6a27d755f79' + 'f3712226e7ce5fc3834923f98c74104d' + 'fdd0973b00d3b57d847a369e76218caf' + 'dc35013b9b7433021321b6c2a9188a7b' + '5642573643c1b98fabbd972dc683cf99' + '744adade90877abcf4695b144af94b0b' + '13a1b1d096e41721fe2c9f90048cde44' + '168a9ead8c69838d37b1f7a090821cb3' + '275cc0999a5d727d1f1819ef9662a622' + 'd324aa3919145362f0e271703b30f8e0' + '6326f9e55bf26d4335254ed565efd4ac' + '97e30c1e5eb4d47de78cd5aaada950d2' + '50040c04cc78cc654a62737d38553073' + 'd178ca57505699774a60f847c8e02490' + '3ff8ae17d1a2d9e8acf7f86156383bd3' + '9d1a7ca4bcbe76ab331d19819f2d221c' + '111cb3fe42c06ba1c203b0ce4b3ea517' + '203719c8dc28b02b82dc7fdb55278618' + '04646d2dff4f9db65f248852fb879244' + '5bf091f5c5e3db8a3e30a134ae8ea799' + 'df69698439f15c7b09cfd41a09fc6b94' + 'f06f58f6359cc0df619a9b61e0bc0420' + '189246156c4da52e9c5589fa6e86c415' + 'd2e79628e504826e6dae5e2e7790b147' + '06277810b45367fe40f45ccefbc24e93' + 'd35b31efb0bc71ff06b0fcf33cb1ebb1' + 'eb8cfdf43bd4d584cb51a71fd566ca00' + '6f0fee5aba0572965766a524970fbd54' + '9b59fdfc75558ce9f79ce3c27cbfc1ba' + '8ad7a44c1541976623f3563b08277f8b' + '5a2f9fcdcd4d1da57cdd0eaf90ff47ae' + '0f194992d28b89827d6f8d9b9940161e' + 'b86be60235f2cc2e0d4d56947d1e720f' + '53e5bcad95bd71b71c2798c3a1458f9f' + '9068a4418cdea2898c3a30396047813f' + 'b7034801a2ada8b5d345aade0a6e7b15' + '8c1cb45a8feb8c3462cb6332a8bae307' + 'ac69dd1b31838f78047f43b9767e8960' + 'ee40dad1fbbba25b8fa6e54309ea333b' + '72268140121017279de525f20c75b4b2' + '82c806899d8e053745541eb30f042e48' + 'b18123764f657bdf7d976b2eb435c093' + 'f3d918d484b4b787a952bcce453bdf5c' + 'f1656e536e73ed4e38886d340109ee54' + '5c7889d20a279747b631b8f5352a02ce' + 'b355d3c19f7c45c50b304bde361313f5' + '687ce73670de817d03b8ca9e5b76bdae' + '8e2688ebd1deb68a2a2705eaeadce02b' + '13a69653611582a1e3c2e93a1763dda3' + 'b05d11c5956abbbf9829727208d9abbd' + '1f47e8ca5d1501815a3f20b84c875d26' + '5c0bf1128c4c36b8cc16fd1ed1100b7d' + '021f39c067f1187efb9ed224d5b1d484' + 'd53a13b1f577b491fed29d2cb685e414' + '650175ef54dd916c10f07c112ddc871e' + '2bd14b729e60978b1d0143ef6a4f4804' + '6ec4adf9f35305547c0b95a525379a69' + 'dcf6e0b99f4d06fa64b0d867003e4823' + '8324b87959ddce9bbd7fc1e8908cd443' + 'd95976a779ca6f76d7de41a247d85403' + '263e7d073142729a0eaaaa6c67fa5c5f' + '68cb645a140022fe486c9bfa9541550a' + 'd8f08ecaf7b5bd8a3decb0b8b2bd41fb' + 'c55683409b9116154b52dcec970220ae' + 'c024d2dc3ac185d93786605eccdbc6fb' + 'bf7e6bd969d66a00c9810012ad7d333b' + '87fc5174be352e61cf31d7c0132275a9' + '05a2d45198d6524e78ade2187a2cafeb' + 'ef149e1704c98d053f4c8e3b1b24b2fe' + '8baa983213bad002b1ee9ddf9c1d0b9a' + 'a1aa2601d4c406bd91d90e68707ecac9' + '8dddbf7177c9534231fe04a2058af64b' + '76f1af8ef2c46ca862564cc6bc6a5714' + 'e8e03382a57dc31f7206394110c055d6' + '8c49c7a71d72d25a5ba0013bfff76f34' + '33e48d84c06bce691a6d829541f312c5' + '71ddcdb5b41fe5415f622e5b80106b57' + 'b129cb5ebbcc44298c712d67a39fe287' + 'aca559f200afe070c46b90ee628e20d3' + '569c19ec1da041d9cd19d8b66f036c15' + 'f27aed4353d6385ee038a1b481b40c7e' + 'dd90d84ec4b9f1dc884d229b1309caab' + 'dc8d6b73c642f025c9cfdb39f0ca8594' + '20cd5861f9e61fb334dec9f667100c00' + '42adae468dd2cd5bd8736d99dccaaace' + 'c858076e718407863ee068f836b871d0' + '9ba63cfc2a01fa9aafffc167bf0c777e' + '6ce56eeaa38c01def4145e834aa5ebb0' + '0713ed70142b7be2ee6e8f7b39330109' + '886b27d8c6c80f16cbf3fda89fdb99ae' + '53ad0097fab0c667953157f56e8785d0' + '87664927eb1cd2f2020178207ead2f67' + 'a43058943b97b3f16a9777b157af6210' + 'fa55085345ce38f2fa14df90f247e3f1' + 'c1d6f1ad24ce9cb2ce0c6a5f110c0269' + '7fa0a3041a1edd7686fdbddab53b6a6a' + '6d73804ae9d2558506f9023115c52c5a' + '39889b258bb7d6621c954542166ba21e' + 'e8d7ebd1ff1fe5c0514b3b298e1a2798' + '2c9243a455bd067417dcc9de78d731de' + '4fd20c0e754b340a1158ab3601a98dd0' + '5501739fc2bfa198f599653add3155e8' + '4e698fefe526f79a4a4bc1f2787e8fda' + 'eccb21c8e25e4c3aa2f47658b7ac79b1' + '7692f5686b3bd277ca4f0090868e6d3c' + 'ce2357769515dda3c882da728a7f194e' + '66f7708fa56e4bde0b63fa059578c247' + '0764b72e9ebb1eed75f1b5599afad35f' + 'bcb70689e630fd2fd27123741639f046' + 'bf214d03f81d1a093f039ecfb9f6a9b1' + '020f5c43b33d305d4c6f566fd25b455e' + 'f875ffcc67eba76403e768d9c64cc9b7' + 'bac6a87f5998652031723e372a7c4715' + '71b0ee033b05f9c2691f92f7ed333255' + '6bcb1d8804d71c603cf26684314b13a8' + '56aeca48cae7cd4c1cc9170294fc74d8' + '2ec1b20f13104428f0e729ac7ca9a72a' + '0400fa7841f2ae815f8d79e60a6fb2dd' + '435c70f220bc7c9334ffb60ba0327864' + 'e85ebab58555d26285feebadeef0712a' + '7edab88d63f208d351b7884a33c93927' + 'c5a0f3707d3733f66b390ed47a2ecd0d' + '6b99daaf90739381b7c2d201d20dd4f2' + 'daec46ee9321625ea6623a48d8fb972d' + 'd862d5e781374c553c81026edeb5e230' + '67ab63504750a0f21514a60d9519f9c6' + 'ad9a0fdee16ad24fd9d5d29e1cc3fe16' + 'c2a23ee55d12bdb03e82a69252d27781' + 'a69e90c944ee092694f332ea46a51132' + 'd5f0f0fded8ef8f1772bedfadca21287' + '06dfb83ea0bda37edfff148c1b8a6ed3' + '67cc880ba2eb2829dea450a40bf3c43d' + '364343e8e8984f36ea72608f44e7286b' + '8b450d59345fb8a2556863bb8ad5827a' + '0e93e5357b82bd80297acfa1eebd7505' + 'b4c6cfab6036a4ed1751ace28c0e03d3' + '5232d1cffedcb3dbad5b5e721c86f393' + '3eafc45f45dbfcc3ba58456343df76e7' + '0fb1138aa5361539fff627dca38075ae' + '903f2b7de034961e600f6d1d129f7aae' + '66453913e33360dcfe098b0c794753ab' + '606c256b7c13e500b07ac2e4d66439eb' + '665e651b4a84f40cd7c7e537ad123620' + '0a84bb33e0a21329ad002b98673662d1' + 'c04ccfb374d564e98319cc3bc57f6667') + +prepare() { + for i in ${pkgname[@]}; do + _pkglang=${i#*-} + _pkglang=${_pkglang/fresh-} + + echo ${_pkglang} " unpacking..." + cd "${srcdir}"/LibreOffice_${_rcver}_Linux_x86_rpm_langpack_${_pkglang}/RPMS + + # remove dictionaries if shipped - we ship them now in separate packages + rm -vf *-dict-*.rpm || /bin/true + + for j in *.rpm + do rpmextract.sh $j + done + + # the helppack rpm goes also into the langpack dir + rpmextract.sh \ + "${srcdir}"/LibreOffice_${_rcver}_Linux_x86_rpm_helppack_${_pkglang}/RPMS/*.rpm \ + || true + done +} + +_package() { + pkgdesc="$2 language pack for LibreOffice Fresh" + depends=('libreoffice-fresh') + provides=("openoffice-$1" "libreoffice-$1") + conflicts=("openoffice-$1" "libreoffice-$1") + replaces=("openoffice-$1") + + cd "$srcdir"/LibreOffice_${_rcver}_Linux_x86_rpm_langpack_$1/RPMS + mkdir -p "$pkgdir"/usr/lib/libreoffice + cp -R opt/libreoffice*/* "$pkgdir"/usr/lib/libreoffice + chown root:root -R "$pkgdir"/usr/lib/libreoffice +} + +for _lang in "${_languages[@]}"; do + _locale=${_lang%% *} + _pkgname=libreoffice-fresh-$_locale + source+=(${_url}/LibreOffice_${_oodlver}_Linux_x86_rpm_langpack_${_locale}.tar.gz) + + if curl -o /dev/null -s -I -f ${_url}/LibreOffice_${_oodlver}_Linux_x86_rpm_helppack_${_locale}.tar.gz; then + source+=(${_url}/LibreOffice_${_oodlver}_Linux_x86_rpm_helppack_${_locale}.tar.gz) + fi + + pkgname+=($_pkgname) + eval "package_${_pkgname}() { + _package $_lang + }" +done