[arch-commits] Commit in hunspell-es/trunk (PKGBUILD)

Eric Bélanger eric at archlinux.org
Sun Oct 14 05:36:34 UTC 2012


    Date: Sunday, October 14, 2012 @ 01:36:33
  Author: eric
Revision: 168688

upgpkg: hunspell-es 1:0.6-1

Upstream update, Update url, Update license

Modified:
  hunspell-es/trunk/PKGBUILD

----------+
 PKGBUILD |  110 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 59 insertions(+), 51 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-10-14 04:16:02 UTC (rev 168687)
+++ PKGBUILD	2012-10-14 05:36:33 UTC (rev 168688)
@@ -2,70 +2,78 @@
 # Maintainer: AndyRTR <andyrtr at archlinux.org>
 
 pkgname=hunspell-es
-pkgver=20051101
+pkgver=0.6
 pkgrel=1
+epoch=1
 pkgdesc="Spanish hunspell dictionaries"
 arch=(any)
-url="http://hunspell.sourceforge.net/"
-license=('LGPL')
+url="https://forja.rediris.es/projects/rla-es/"
+license=('LGPL3')
 makedepends=('hunspell')
 optdepends=('hunspell:	the spell checking libraries and apps')
-source=('http://ftp.osuosl.org/pub/openoffice/contrib/dictionaries/es_AR.zip'
-	'http://ftp.osuosl.org/pub/openoffice/contrib/dictionaries/es_BO.zip'
-	'http://ftp.osuosl.org/pub/openoffice/contrib/dictionaries/es_CL.zip'
-	'http://ftp.osuosl.org/pub/openoffice/contrib/dictionaries/es_CO.zip'
-	'http://ftp.osuosl.org/pub/openoffice/contrib/dictionaries/es_CR.zip'
-	'http://ftp.osuosl.org/pub/openoffice/contrib/dictionaries/es_CU.zip'
-	'http://ftp.osuosl.org/pub/openoffice/contrib/dictionaries/es_DO.zip'
-	'http://ftp.osuosl.org/pub/openoffice/contrib/dictionaries/es_EC.zip'
-	'http://ftp.osuosl.org/pub/openoffice/contrib/dictionaries/es_ES.zip'
-	'http://ftp.osuosl.org/pub/openoffice/contrib/dictionaries/es_GT.zip'
-	'http://ftp.osuosl.org/pub/openoffice/contrib/dictionaries/es_HN.zip'
-	'http://ftp.osuosl.org/pub/openoffice/contrib/dictionaries/es_MX.zip'
-	'http://ftp.osuosl.org/pub/openoffice/contrib/dictionaries/es_NI.zip'
-	'http://ftp.osuosl.org/pub/openoffice/contrib/dictionaries/es_PA.zip'
-	'http://ftp.osuosl.org/pub/openoffice/contrib/dictionaries/es_PE.zip'
-	'http://ftp.osuosl.org/pub/openoffice/contrib/dictionaries/es_PR.zip'
-	'http://ftp.osuosl.org/pub/openoffice/contrib/dictionaries/es_PY.zip'
-	'http://ftp.osuosl.org/pub/openoffice/contrib/dictionaries/es_SV.zip'
-	'http://ftp.osuosl.org/pub/openoffice/contrib/dictionaries/es_UY.zip'
-	'http://ftp.osuosl.org/pub/openoffice/contrib/dictionaries/es_VE.zip')
-md5sums=('4c634da95fad11093ba65f6367ee5e19'
-         '564921b9f82d9f2f46ea4b53e516975b'
-         'b75c996c3665d2a73bab21588b9ee258'
-         'cbc916ab3433755592868565a60471b8'
-         'f2641aa3187a4b411b7a918046100848'
-         'b13e5bbf7c5eddef292dac61c9f7b7fb'
-         'e38aba8b2f43041b41df36bb383a59e2'
-         '88bde5878d2a79807b4c38bc785001aa'
-         '4b272f7c958dd619b2ddc007c45db53b'
-         'cc0f781cb0d1662954692da3e03cb46d'
-         'b13d8e86654c7552d2834c1024bbd391'
-         'e32f5ec8c94fd902a9823dae4040a019'
-         '87ac50f7fc714452b421dc91d581b476'
-         '2f71f67090afb7963e7bcbbffbe317de'
-         '0be27bea02ecdca8b651fad52193ab96'
-         'b95eadbad8ae02bddb5e1fed25075e15'
-         'd1f06558dc4fac30c7926f26216b3fec'
-         '928536ead27886e819a5910d8fa1052f'
-         '23c13ab1e0902f4b3d936839074daa12'
-         '748e15e39e7c5b52877bd7f111196304')
-es_langs="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_PY es_SV es_UY es_VE" # <- obsolete? it's not used in the pkg
+noextract=(es_ANY.oxt es_AR.oxt es_BO.oxt es_CL.oxt es_CO.oxt 
+           es_CR.oxt es_CU.oxt es_DO.oxt es_EC.oxt es_ES.oxt 
+           es_GT.oxt es_HN.oxt es_MX.oxt es_NI.oxt es_PA.oxt 
+           es_PE.oxt es_PR.oxt es_SV.oxt es_UY.oxt es_VE.oxt)
+source=('http://forja.rediris.es/frs/download.php/2618/es_ANY.oxt'
+        'http://forja.rediris.es/frs/download.php/2619/es_AR.oxt'
+        'http://forja.rediris.es/frs/download.php/2620/es_BO.oxt'
+        'http://forja.rediris.es/frs/download.php/2621/es_CL.oxt'
+        'http://forja.rediris.es/frs/download.php/2622/es_CO.oxt'
+        'http://forja.rediris.es/frs/download.php/2623/es_CR.oxt'
+        'http://forja.rediris.es/frs/download.php/2624/es_CU.oxt'
+        'http://forja.rediris.es/frs/download.php/2625/es_DO.oxt'
+        'http://forja.rediris.es/frs/download.php/2626/es_EC.oxt'
+        'http://forja.rediris.es/frs/download.php/2627/es_ES.oxt'
+        'http://forja.rediris.es/frs/download.php/2628/es_GT.oxt'
+        'http://forja.rediris.es/frs/download.php/2629/es_HN.oxt'
+        'http://forja.rediris.es/frs/download.php/2630/es_MX.oxt'
+        'http://forja.rediris.es/frs/download.php/2631/es_NI.oxt'
+        'http://forja.rediris.es/frs/download.php/2632/es_PA.oxt'
+        'http://forja.rediris.es/frs/download.php/2633/es_PE.oxt'
+        'http://forja.rediris.es/frs/download.php/2634/es_PR.oxt'
+        'http://forja.rediris.es/frs/download.php/2635/es_SV.oxt'
+        'http://forja.rediris.es/frs/download.php/2636/es_UY.oxt'
+        'http://forja.rediris.es/frs/download.php/2637/es_VE.oxt')
+md5sums=('9676e94487e4a09a1c7adb8e2357774d'
+         '15a2bbadfbdaed50a85cee048e0448e1'
+         'a946fa01accc85bba4ac4c8a65bda990'
+         '63156d580f93eb5eabe150a64e891180'
+         '2e598c9f6425144c6a74ef075df55536'
+         '023f3308e7f2bda68409eadf55cffc1a'
+         '8076fddccbfc8119afce7e63797a86f1'
+         'c0b96ecfe25b90eba9dfd455a44e876d'
+         'e40a866e0f4fa43d19c606be2c78a919'
+         '28776430bb77547fd70cf6db504bda63'
+         '5bba781582ffa42acfdd3c5dd3899add'
+         'cc4a81266f2aa06a3980d9999faef3dc'
+         'e237488413344febc567d41c716d1608'
+         'e5396b996777854860e1071953bf1159'
+         '3c77326ae63077d08bd167039831506d'
+         'a0fe867554ff50d79a92534e904204f4'
+         'b9e10ee9f910b4e983c088da31635cc4'
+         '17987e5ab82801d3b0a583bcc617cc25'
+         '8b511d64b06ddec5c8589cdc1f74a39c'
+         '2c0312e7100b6a5347f16fa33f1a29ba')
 
 package() {
   cd "$srcdir"
-  install -dm755 ${pkgdir}/usr/share/hunspell
-  cp -p *.dic *.aff $pkgdir/usr/share/hunspell
+  for file in *.oxt; do
+    LANG=en_US.utf8 bsdtar -xf $file
+  done
 
+  install -dm755 "${pkgdir}/usr/share/hunspell"
+  install -m644 es_*.dic es_*.aff "$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
+  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
-  cp -p README_*.txt $pkgdir/usr/share/doc/$pkgname
+  install -dm755 "${pkgdir}/usr/share/doc/$pkgname"
+  install -m644 README.txt "$pkgdir/usr/share/doc/$pkgname"
 }




More information about the arch-commits mailing list