Date: Wednesday, November 27, 2013 @ 09:13:27 Author: angvp Revision: 200368
archrelease: copy trunk to extra-any Added: hyphen-es/repos/extra-any/PKGBUILD (from rev 200367, hyphen-es/trunk/PKGBUILD) Deleted: hyphen-es/repos/extra-any/PKGBUILD ----------+ PKGBUILD | 79 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 40 insertions(+), 39 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2013-11-27 08:12:48 UTC (rev 200367) +++ PKGBUILD 2013-11-27 08:13:27 UTC (rev 200368) @@ -1,39 +0,0 @@ -# $Id$ -# Maintainer: AndyRTR <andy...@archlinux.org> - -pkgname=hyphen-es -pkgver=0.6 -pkgrel=1 -epoch=1 -pkgdesc="Spanish hyphenation rules" -arch=('any') -url="https://forja.rediris.es/projects/rla-es/" -license=('LGPL3') -optdepends=('hyphen: offers hyphenation library functions') -noextract=('es_ANY.oxt') -source=('http://forja.rediris.es/frs/download.php/2618/es_ANY.oxt') -md5sums=('9676e94487e4a09a1c7adb8e2357774d') - -package() { - cd "$srcdir" - 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_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_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 - ln -sv /usr/share/hyphen/$(basename $file) . - done - popd - - # docs - install -Dm644 README_hyph_es_ANY.txt "${pkgdir}/usr/share/doc/$pkgname/README_hyph_es_ANY.txt" -} Copied: hyphen-es/repos/extra-any/PKGBUILD (from rev 200367, hyphen-es/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2013-11-27 08:13:27 UTC (rev 200368) @@ -0,0 +1,40 @@ +# $Id$ +# Maintainer: Angel Velasquez <an...@archlinux.org> +# Contributor: AndyRTR <andy...@archlinux.org> + +pkgname=hyphen-es +pkgver=0.7 +pkgrel=1 +epoch=1 +pkgdesc="Spanish hyphenation rules" +arch=('any') +url="https://forja.rediris.es/projects/rla-es/" +license=('LGPL3') +optdepends=('hyphen: offers hyphenation library functions') +noextract=('es_ANY.oxt') +source=('http://forja.rediris.es/frs/download.php/2933/es_ANY.oxt') +md5sums=('e3d4b38f280e7376178529db2ece982b') + +package() { + cd "$srcdir" + 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_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_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 + ln -sv /usr/share/hyphen/$(basename $file) . + done + popd + + # docs + install -Dm644 README_hyph_es_ANY.txt "${pkgdir}/usr/share/doc/$pkgname/README_hyph_es_ANY.txt" +}