[arch-commits] Commit in mythes-es/repos/extra-any (PKGBUILD PKGBUILD)
Eric Bélanger
eric at archlinux.org
Sun Oct 14 05:53:34 UTC 2012
Date: Sunday, October 14, 2012 @ 01:53:34
Author: eric
Revision: 168693
archrelease: copy trunk to extra-any
Added:
mythes-es/repos/extra-any/PKGBUILD
(from rev 168692, mythes-es/trunk/PKGBUILD)
Deleted:
mythes-es/repos/extra-any/PKGBUILD
----------+
PKGBUILD | 81 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 41 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2012-10-14 05:53:23 UTC (rev 168692)
+++ PKGBUILD 2012-10-14 05:53:34 UTC (rev 168693)
@@ -1,40 +0,0 @@
-# $Id$
-# Maintainer: AndyRTR <andyrtr at archlinux.org>
-
-pkgname=mythes-es
-pkgver=20110402
-pkgrel=1
-pkgdesc="Spanish thesaurus"
-arch=(any)
-url="http://openthes-es.berlios.de/"
-license=('LGPL')
-optdepends=('libmythes: offers thesaurus library functions')
-source=('http://openthes-es.berlios.de/download/Spanish-Dictionaries.oxt')
-md5sums=('9c39572a9ef621aa85fdd359d4693872')
-
-build() {
- /bin/true
-}
-
-package() {
- cd "$srcdir"
- install -dm755 ${pkgdir}/usr/share/mythes
- cp -p th_es_ES_v2.* $pkgdir/usr/share/mythes
-
- pushd $pkgdir/usr/share/mythes/
- 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"
- for lang in $es_ES_aliases; do
- ln -s th_es_ES_v2.idx "th_"$lang"_v2.idx"
- ln -s th_es_ES_v2.dat "th_"$lang"_v2.dat"
- done
- popd
-
- # the symlinks
- install -dm755 ${pkgdir}/usr/share/myspell/dicts
- pushd $pkgdir/usr/share/myspell/dicts
- for file in $pkgdir/usr/share/mythes/*; do
- ln -sv /usr/share/mythes/$(basename $file) .
- done
- popd
-
-}
Copied: mythes-es/repos/extra-any/PKGBUILD (from rev 168692, mythes-es/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2012-10-14 05:53:34 UTC (rev 168693)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: AndyRTR <andyrtr at archlinux.org>
+
+pkgname=mythes-es
+pkgver=0.6
+pkgrel=1
+epoch=1
+pkgdesc="Spanish thesaurus"
+arch=(any)
+url="https://forja.rediris.es/projects/rla-es/"
+license=('LGPL3')
+optdepends=('libmythes: offers thesaurus 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 -dm755 "${pkgdir}/usr/share/mythes"
+ install -m644 th_es_ES_v2.* "$pkgdir/usr/share/mythes"
+
+ pushd "$pkgdir/usr/share/mythes/"
+ 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_SV es_UY es_VE"
+ for lang in $es_ES_aliases; do
+ ln -s th_es_ES_v2.idx "th_"$lang"_v2.idx"
+ ln -s th_es_ES_v2.dat "th_"$lang"_v2.dat"
+ done
+ popd
+
+ # the symlinks
+ install -dm755 "${pkgdir}/usr/share/myspell/dicts"
+ pushd "$pkgdir/usr/share/myspell/dicts"
+ for file in "$pkgdir"/usr/share/mythes/*; do
+ ln -sv /usr/share/mythes/$(basename $file) .
+ done
+ popd
+
+ # docs
+ install -Dm644 README_th_es_ES.txt "${pkgdir}/usr/share/doc/$pkgname/README_th_es_ES.txt"
+}
More information about the arch-commits
mailing list