Date: Sunday, October 14, 2012 @ 01:46:32 Author: eric Revision: 168690
upgpkg: hyphen-es 1:0.6-1 Upstream update, Update url, Update license Modified: hyphen-es/trunk/PKGBUILD ----------+ PKGBUILD | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2012-10-14 05:36:46 UTC (rev 168689) +++ PKGBUILD 2012-10-14 05:46:32 UTC (rev 168690) @@ -2,37 +2,38 @@ # Maintainer: AndyRTR <[email protected]> pkgname=hyphen-es -pkgver=20051118 -pkgrel=2 +pkgver=0.6 +pkgrel=1 +epoch=1 pkgdesc="Spanish hyphenation rules" arch=('any') -url="http://wiki.services.openoffice.org/wiki/Dictionaries" -license=('LGPL') +url="https://forja.rediris.es/projects/rla-es/" +license=('LGPL3') optdepends=('hyphen: offers hyphenation library functions') -source=('http://vesta.informatik.rwth-aachen.de/ftp/pub/mirror/OpenOffice/contrib/dictionaries/hyph_es_ES.zip') -md5sums=('d34ab9eefdb49147c57c01227eeb0c66') +noextract=('es_ANY.oxt') +source=('http://forja.rediris.es/frs/download.php/2618/es_ANY.oxt') +md5sums=('9676e94487e4a09a1c7adb8e2357774d') package() { cd "$srcdir" - install -dm755 ${pkgdir}/usr/share/hyphen - cp -p hyph_es_??.dic $pkgdir/usr/share/hyphen + LANG=en_US.utf8 bsdtar -xf es_ANY.oxt + install -Dm644 hyph_es_ANY.dic "$pkgdir/usr/share/hyphen/hyph_es_ANY.dic" - pushd $pkgdir/usr/share/hyphen/ - es_ES_aliases="es_AR es_BO es_CL es_CO es_CR es_CU es_DO es_EC es_GT es_HN es_MX es_NI es_PA es_PE es_PR es_PY es_SV es_UY es_VE" + pushd "$pkgdir/usr/share/hyphen/" + es_ES_aliases="es_AR es_BO es_CL es_CO es_CR es_CU es_DO es_EC es_ES es_GT es_HN es_MX es_NI es_PA es_PE es_PR es_SV es_UY es_VE" for lang in $es_ES_aliases; do - ln -s hyph_es_ES.dic hyph_$lang.dic + ln -s hyph_es_ANY.dic hyph_$lang.dic done popd # the symlinks - install -dm755 ${pkgdir}/usr/share/myspell/dicts - pushd $pkgdir/usr/share/myspell/dicts - for file in $pkgdir/usr/share/hyphen/*; do + 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 -dm755 ${pkgdir}/usr/share/doc/$pkgname - cp -p README_hyph_es_??.txt $pkgdir/usr/share/doc/$pkgname + install -Dm644 README_hyph_es_ANY.txt "${pkgdir}/usr/share/doc/$pkgname/README_hyph_es_ANY.txt" }
