Date: Tuesday, December 18, 2018 @ 18:16:48 Author: bgyorgy Revision: 416676
archrelease: copy trunk to community-any Added: hyphen-hu/repos/community-any/PKGBUILD (from rev 416675, hyphen-hu/trunk/PKGBUILD) Deleted: hyphen-hu/repos/community-any/PKGBUILD ----------+ PKGBUILD | 65 +++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 36 insertions(+), 29 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-12-18 18:16:44 UTC (rev 416675) +++ PKGBUILD 2018-12-18 18:16:48 UTC (rev 416676) @@ -1,29 +0,0 @@ -# $Id$ -# Maintainer: AndyRTR <andy...@archlinux.org> -# Contributor: György Balló <ball...@freestart.hu> - -pkgname=hyphen-hu -pkgver=20100512 -pkgrel=3 -pkgdesc="Hungarian hyphenation rules" -arch=('any') -url="http://extensions.services.openoffice.org/project/hu_dicts" -license=('LGPL' 'GPL' 'MPL') -optdepends=('hyphen: offers hyphenation library functions') -source=(http://pkgs.fedoraproject.org/repo/pkgs/mythes-hu/dict-hu.oxt/3974adee5dccc005caef2ff9db007e11/dict-hu.oxt) -md5sums=('3974adee5dccc005caef2ff9db007e11') - -package() { - cd "$srcdir" - install -Dm0644 hyph_hu_HU.dic $pkgdir/usr/share/hyphen/hyph_hu_HU.dic - - # the symlinks - install -dm755 ${pkgdir}/usr/share/myspell/dicts - pushd $pkgdir/usr/share/myspell/dicts - for file in $pkgdir/usr/share/hyphen/*; do - ln -sv /usr/share/hyphen/$(basename $file) . - done - popd - - install -Dm0644 README_hyph_hu_HU.txt $pkgdir/usr/share/doc/$pkgname/README_hyph_hu_HU.txt -} Copied: hyphen-hu/repos/community-any/PKGBUILD (from rev 416675, hyphen-hu/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-12-18 18:16:48 UTC (rev 416676) @@ -0,0 +1,36 @@ +# Maintainer: Balló György <ballogyor+arch at gmail dot com> +# Contributor: AndyRTR <andy...@archlinux.org> + +pkgname=hyphen-hu +pkgver=20110815 +_lo_ver=6.1.4 +pkgrel=1 +pkgdesc="Hungarian hyphenation rules" +arch=(any) +url="http://magyarispell.sourceforge.net/" +license=(LGPL GPL MPL) +optdepends=('hyphen: offers hyphenation library functions') +source=(https://download.documentfoundation.org/libreoffice/stable/${_lo_ver}/rpm/x86_64/LibreOffice_${_lo_ver}_Linux_x86-64_rpm_langpack_hu.tar.gz{,.asc}) +validpgpkeys=('C2839ECAD9408FBE9531C3E9F434A1EFAFEEAEA3') # "LibreOffice Build Team (CODE SIGNING KEY) <bu...@documentfoundation.org>" +sha256sums=('93f8b987189a0ac52cbee9eaca74597e059479a43604b3d3ec409072909e3ab3' + 'SKIP') + +prepare() { + bsdtar -x -f LibreOffice_*_Linux_x86-64_rpm_langpack_hu/RPMS/libreoffice*-dict-hu-*.x86_64.rpm +} + +package() { + cd opt/libreoffice*/share/extensions/dict-hu/ + install -Dm644 hyph_hu_HU.dic "$pkgdir/usr/share/hyphen/hyph_hu_HU.dic" + + # the symlinks + install -dm755 "$pkgdir/usr/share/myspell/dicts" + pushd "$pkgdir/usr/share/myspell/dicts" + for file in "$pkgdir"/usr/share/hyphen/*; do + ln -sv /usr/share/hyphen/$(basename $file) . + done + popd + + # docs + install -Dm644 README_hyph_hu_HU.txt "$pkgdir/usr/share/doc/$pkgname/README_hyph_hu_HU.txt" +}