Date: Tuesday, August 25, 2020 @ 17:57:05 Author: demize Revision: 688572
archrelease: copy trunk to community-any Added: hunspell-pl/repos/community-any/PKGBUILD (from rev 688571, hunspell-pl/trunk/PKGBUILD) Deleted: hunspell-pl/repos/community-any/PKGBUILD ----------+ PKGBUILD | 82 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 41 insertions(+), 41 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-08-25 17:56:59 UTC (rev 688571) +++ PKGBUILD 2020-08-25 17:57:05 UTC (rev 688572) @@ -1,41 +0,0 @@ -# Maintainer: Johannes Löthberg <johan...@kyriasis.com> -# Contributor: Bartłomiej Piotrowski <barthal...@gmail.com> -# Contributor: Maciej Sitarz <maci...@freesco.pl> - -pkgname=hunspell-pl -pkgver=20200822 -pkgrel=1 -pkgdesc='Polish dictionary for Hunspell' -arch=('any') -url='https://www.sjp.pl/slownik/ort/' -license=('GPL') -optdepends=('hunspell: the spell checking libraries and apps') -makedepends=('qt5-webengine') -source=(https://sources.archlinux.org/other/community/hunspell-pl/sjp-myspell-pl-$pkgver.zip) -md5sums=('ccef1b8c37062ea1204f0da89a1bf780') - -prepare() { - bsdtar -xf pl_PL.zip -} - -package() { - install -dm755 "$pkgdir"/usr/share/hunspell - install -m644 pl_PL.aff "$pkgdir"/usr/share/hunspell - install -m644 pl_PL.dic "$pkgdir"/usr/share/hunspell - - # the symlinks - install -dm755 "$pkgdir"/usr/share/myspell/dicts - pushd "$pkgdir"/usr/share/myspell/dicts - for file in "$pkgdir"/usr/share/hunspell/*; do - ln -sv /usr/share/hunspell/$(basename $file) . - done - popd - - # docs - install -dm755 "$pkgdir"/usr/share/doc/$pkgname - install -m644 README_pl_PL.txt "$pkgdir"/usr/share/doc/$pkgname - - # Install webengine dictionaries - install -d "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/ - qwebengine_convert_dict "$pkgdir"/usr/share/hunspell/pl_PL.dic "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/pl_PL.bdic -} Copied: hunspell-pl/repos/community-any/PKGBUILD (from rev 688571, hunspell-pl/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-08-25 17:57:05 UTC (rev 688572) @@ -0,0 +1,41 @@ +# Maintainer: Johannes Löthberg <johan...@kyriasis.com> +# Contributor: Bartłomiej Piotrowski <barthal...@gmail.com> +# Contributor: Maciej Sitarz <maci...@freesco.pl> + +pkgname=hunspell-pl +pkgver=20200825 +pkgrel=1 +pkgdesc='Polish dictionary for Hunspell' +arch=('any') +url='https://www.sjp.pl/slownik/ort/' +license=('GPL') +optdepends=('hunspell: the spell checking libraries and apps') +makedepends=('qt5-webengine') +source=(https://sources.archlinux.org/other/community/hunspell-pl/sjp-myspell-pl-$pkgver.zip) +md5sums=('0e7a42d092013fbd671d01901229ba05') + +prepare() { + bsdtar -xf pl_PL.zip +} + +package() { + install -dm755 "$pkgdir"/usr/share/hunspell + install -m644 pl_PL.aff "$pkgdir"/usr/share/hunspell + install -m644 pl_PL.dic "$pkgdir"/usr/share/hunspell + + # the symlinks + install -dm755 "$pkgdir"/usr/share/myspell/dicts + pushd "$pkgdir"/usr/share/myspell/dicts + for file in "$pkgdir"/usr/share/hunspell/*; do + ln -sv /usr/share/hunspell/$(basename $file) . + done + popd + + # docs + install -dm755 "$pkgdir"/usr/share/doc/$pkgname + install -m644 README_pl_PL.txt "$pkgdir"/usr/share/doc/$pkgname + + # Install webengine dictionaries + install -d "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/ + qwebengine_convert_dict "$pkgdir"/usr/share/hunspell/pl_PL.dic "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/pl_PL.bdic +}