Date: Tuesday, November 15, 2022 @ 22:51:49 Author: andyrtr Revision: 461860
upgpkg: mythes-en 20221102-1: move to new upstream source at libreoffice git; build from latest commit Modified: mythes-en/trunk/PKGBUILD ----------+ PKGBUILD | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-11-15 22:42:05 UTC (rev 461859) +++ PKGBUILD 2022-11-15 22:51:49 UTC (rev 461860) @@ -1,19 +1,21 @@ # Maintainer: AndyRTR <[email protected]> pkgname=mythes-en -pkgver=20060306 -pkgrel=6 +# https://cgit.freedesktop.org/libreoffice/dictionaries/log/en +_commit=81c820ae2e0f447d3bd71855c3bc7e8912740d11 # last commit "en" subdir - 2022-11-02 +pkgver=20221102 +pkgrel=1 pkgdesc="English thesaurus" arch=('any') -url="https://wiki.services.openoffice.org/wiki/Dictionaries#English_.28AU.2CCA.2CGB.2CNZ.2CUS.2CZA.29" +url="https://wiki.documentfoundation.org/Development/Dictionaries" license=('LGPL') +makedepends=('git') optdepends=('libmythes: offers thesaurus library functions') -# Fedora uses http://www.danielnaber.de/wn2ooo/ but it doesn't look more fresh -source=("https://www.mirrorservice.org/sites/download.openoffice.org/contrib/dictionaries/thes_en_US_v2.zip") -md5sums=('ec611ad21ae4ee2b4415e27e252e4952') +source=("git+https://anongit.freedesktop.org/git/libreoffice/dictionaries.git#commit=$_commit") +sha256sums=('SKIP') package() { - cd "$srcdir" + cd dictionaries/en install -dm755 "${pkgdir}"/usr/share/mythes cp -p th_en_US_v2.* "$pkgdir"/usr/share/mythes @@ -20,7 +22,7 @@ pushd "$pkgdir"/usr/share/mythes/ en_US_aliases="en_AG en_AU en_BS en_BW en_BZ en_CA en_DK en_GB en_GH en_IE en_IN en_JM en_NA en_NG en_NZ en_PH en_SG en_TT en_ZA en_ZW" for lang in $en_US_aliases; do - ln -s th_en_US_v2.idx "th_"$lang"_v2.idx" +# ln -s th_en_US_v2.idx "th_"$lang"_v2.idx" ln -s th_en_US_v2.dat "th_"$lang"_v2.dat" done popd @@ -35,5 +37,5 @@ # docs install -dm755 "${pkgdir}"/usr/share/doc/$pkgname - cp -p README_th_en_US_v2.txt "$pkgdir"/usr/share/doc/$pkgname + cp -p README_en_GB_thes.txt "$pkgdir"/usr/share/doc/$pkgname }
