summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.AURINFO18
-rw-r--r--.SRCINFO26
-rw-r--r--Makefile.am.patch62
-rw-r--r--Makefile.in.patch529
-rw-r--r--PKGBUILD43
-rw-r--r--configure.ac.patch49
6 files changed, 727 insertions, 0 deletions
diff --git a/.AURINFO b/.AURINFO
new file mode 100644
index 000000000000..37dd74fb94cd
--- /dev/null
+++ b/.AURINFO
@@ -0,0 +1,18 @@
+pkgbase = apertium-en-es
+ pkgdesc = Apertium language data for the English-Spanish translator.
+ pkgver = 0.8.0
+ pkgrel = 1
+ url = http://apertium.org
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = pkgconfig
+ depends = lttoolbox>=3.2
+ depends = apertium>=3.2
+ source = http://downloads.sourceforge.net/sourceforge/apertium/apertium-en-es-0.8.0.tar.gz
+ source = configure.ac.patch
+ source = Makefile.am.patch
+ source = Makefile.in.patch
+
+pkgname = apertium-en-es
+
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..b6474f05eb91
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,26 @@
+pkgbase = apertium-en-es
+ pkgdesc = Apertium language data for the English-Spanish translator.
+ pkgver = 0.8.0
+ pkgrel = 1
+ url = http://apertium.org
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = pkgconfig
+ depends = lttoolbox>=3.2
+ depends = apertium>=3.2
+ source = http://downloads.sourceforge.net/sourceforge/apertium/apertium-en-es-0.8.0.tar.gz
+ source = configure.ac.patch
+ source = Makefile.am.patch
+ source = Makefile.in.patch
+ md5sums = 4b82c32edbd5315432192799ed641930
+ md5sums = 4968bf33612ae8fc3f0d253d81de2c4b
+ md5sums = dfae1753dac1a8720de76829a79c3401
+ md5sums = a93870ddb3343f9913582b44d2a70a12
+ sha256sums = b497b545982491d6e4c46b69e3167291bfdfae3d988917a996e5c44265f9fcdf
+ sha256sums = f8345047daf60bf45f9218a551f4207c5b08ce8d318e1f5462909695e2151875
+ sha256sums = 35bd9284dcbbded62436f672fa32e5846b21897f23d526f90a1b53b5302e87c1
+ sha256sums = 1be3c6d97cfd3677df4e85742c3e199e512abf301411a5df05b9ff71b29c5e39
+
+pkgname = apertium-en-es
+
diff --git a/Makefile.am.patch b/Makefile.am.patch
new file mode 100644
index 000000000000..29a51cfedb49
--- /dev/null
+++ b/Makefile.am.patch
@@ -0,0 +1,62 @@
+--- apertium-en-es-0.8.0/Makefile.am 2011-08-03 20:20:35.000000000 +0200
++++ src/apertium-en-es-0.8.0/Makefile.am 2014-10-06 10:41:50.408342594 +0200
+@@ -21,7 +21,7 @@
+ $(BASENAME).$(PREFIX1)-lextor.dix $(BASENAME).$(PREFIX2)-lextor.dix
+
+
+-TARGETS = $(TARGETS_COMMON)
++TARGETS = $(TARGETS_COMMON)
+
+ $(BASENAME).$(LANG1)-lextor.dix: $(BASENAME).$(PREFIX1).dix
+ apertium-validate-dictionary $(BASENAME).$(PREFIX1).dix
+@@ -61,8 +61,8 @@
+ lt-comp lr .deps/$(LANG1).dix $@ $(BASENAME).$(LANG1).acx
+
+ #$(PREFIX1).automorf.bin: $(BASENAME).$(LANG1).metadix $(BASENAME).$(LANG1).acx
+-# @xsltproc buscaPar.xsl apertium-en-es.en.metadix | uniq > tmp1gen.xsl
+-# @xsltproc tmp1gen.xsl apertium-en-es.en.metadix >$(BASENAME).$(LANG1).dixtmp1
++# @xsltproc buscaPar.xsl apertium-en-es.en.metadix | uniq > tmp1gen.xsl
++# @xsltproc tmp1gen.xsl apertium-en-es.en.metadix >$(BASENAME).$(LANG1).dixtmp1
+ # @rm tmp1gen.xsl
+ # apertium-validate-acx $(BASENAME).$(LANG1).acx
+ # apertium-validate-dictionary $(BASENAME).$(LANG1).dixtmp1
+@@ -106,15 +106,15 @@
+ lt-comp rl .deps/$(LANG1b).dix $@
+
+ #$(PREFIX2).autogen.bin: $(BASENAME).$(LANG1).metadix
+-# @xsltproc buscaPar.xsl apertium-en-es.en.metadix | uniq > tmp2gen.xsl
++# @xsltproc buscaPar.xsl apertium-en-es.en.metadix | uniq > tmp2gen.xsl
+ # @xsltproc tmp2gen.xsl apertium-en-es.en.metadix >$(BASENAME).$(LANG1).dixtmp2
+ # @rm tmp2gen.xsl
+ # apertium-validate-dictionary $(BASENAME).$(LANG1).dixtmp2
+ # lt-comp rl $(BASENAME).$(LANG1).dixtmp2 $@
+ # @rm $(BASENAME).$(LANG1).dixtmp2
+ # @rm $(BASENAME).$(LANG1).metadix
+-# @rm $(BASENAME).$(LANG2).dix
+-# @rm $(BASENAME).$(LANG1)-$(LANG2).dix
++# @rm $(BASENAME).$(LANG2).dix
++# @rm $(BASENAME).$(LANG1)-$(LANG2).dix
+
+ $(PREFIX2).autopgen.bin: $(BASENAME).post-$(LANG1).dix
+ apertium-validate-dictionary $(BASENAME).post-$(LANG1).dix
+@@ -207,13 +207,13 @@
+
+ install-data-local:
+ apertium-gen-modes modes.xml apertium-$(PREFIX1)
+- $(INSTALL_DATA) $(PREFIX1).mode $(apertium_en_modesdir)
+- $(INSTALL_DATA) $(PREFIX2).mode $(apertium_en_modesdir)
+- $(INSTALL_DATA) $(PREFIX2b).mode $(apertium_en_modesdir)
+- $(INSTALL_DATA) $(BASENAME).$(PREFIX1).genitive.t1x $(apertium_en_esdir)
+- $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t1x $(BASENAME).$(PREFIX1).t2x $(apertium_en_esdir)
+- $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t3x $(BASENAME).$(PREFIX2).t1x $(apertium_en_esdir)
+- $(INSTALL_DATA) $(BASENAME).$(PREFIX2).t2x $(BASENAME).$(PREFIX2).t3x $(apertium_en_esdir)
++ $(INSTALL_DATA) $(PREFIX1).mode $(DESTDIR)$(apertium_en_modesdir)
++ $(INSTALL_DATA) $(PREFIX2).mode $(DESTDIR)$(apertium_en_modesdir)
++ $(INSTALL_DATA) $(PREFIX2b).mode $(DESTDIR)$(apertium_en_modesdir)
++ $(INSTALL_DATA) $(BASENAME).$(PREFIX1).genitive.t1x $(DESTDIR)$(apertium_en_esdir)
++ $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t1x $(BASENAME).$(PREFIX1).t2x $(DESTDIR)$(apertium_en_esdir)
++ $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t3x $(BASENAME).$(PREFIX2).t1x $(DESTDIR)$(apertium_en_esdir)
++ $(INSTALL_DATA) $(BASENAME).$(PREFIX2).t2x $(BASENAME).$(PREFIX2).t3x $(DESTDIR)$(apertium_en_esdir)
+
+ CLEANFILES = -rf $(TARGETS) modes
+
diff --git a/Makefile.in.patch b/Makefile.in.patch
new file mode 100644
index 000000000000..fe7214320e03
--- /dev/null
+++ b/Makefile.in.patch
@@ -0,0 +1,529 @@
+--- apertium-en-es-0.8.0/Makefile.in 2011-08-03 20:23:44.000000000 +0200
++++ src/apertium-en-es-0.8.0/Makefile.in 2014-10-06 10:41:57.714504506 +0200
+@@ -1,9 +1,8 @@
+-# Makefile.in generated by automake 1.11.1 from Makefile.am.
++# Makefile.in generated by automake 1.14.1 from Makefile.am.
+ # @configure_input@
+
+-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
+-# Inc.
++# Copyright (C) 1994-2013 Free Software Foundation, Inc.
++
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+ # with or without modifications, as long as this notice is preserved.
+@@ -16,6 +15,51 @@
+ @SET_MAKE@
+
+ VPATH = @srcdir@
++am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
++am__make_running_with_option = \
++ case $${target_option-} in \
++ ?) ;; \
++ *) echo "am__make_running_with_option: internal error: invalid" \
++ "target option '$${target_option-}' specified" >&2; \
++ exit 1;; \
++ esac; \
++ has_opt=no; \
++ sane_makeflags=$$MAKEFLAGS; \
++ if $(am__is_gnu_make); then \
++ sane_makeflags=$$MFLAGS; \
++ else \
++ case $$MAKEFLAGS in \
++ *\\[\ \ ]*) \
++ bs=\\; \
++ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
++ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
++ esac; \
++ fi; \
++ skip_next=no; \
++ strip_trailopt () \
++ { \
++ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
++ }; \
++ for flg in $$sane_makeflags; do \
++ test $$skip_next = yes && { skip_next=no; continue; }; \
++ case $$flg in \
++ *=*|--*) continue;; \
++ -*I) strip_trailopt 'I'; skip_next=yes;; \
++ -*I?*) strip_trailopt 'I';; \
++ -*O) strip_trailopt 'O'; skip_next=yes;; \
++ -*O?*) strip_trailopt 'O';; \
++ -*l) strip_trailopt 'l'; skip_next=yes;; \
++ -*l?*) strip_trailopt 'l';; \
++ -[dEDm]) skip_next=yes;; \
++ -[JT]) skip_next=yes;; \
++ esac; \
++ case $$flg in \
++ *$$target_option*) has_opt=yes; break;; \
++ esac; \
++ done; \
++ test $$has_opt = yes
++am__make_dryrun = (target_option=n; $(am__make_running_with_option))
++am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+@@ -33,10 +77,10 @@
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ subdir = .
+-DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
+- $(srcdir)/Makefile.in $(srcdir)/config.in \
+- $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
+- install-sh missing
++DIST_COMMON = INSTALL NEWS README AUTHORS ChangeLog \
++ $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
++ $(top_srcdir)/configure $(am__configure_deps) \
++ $(srcdir)/config.in COPYING install-sh missing
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+ am__aclocal_m4_deps = $(top_srcdir)/configure.ac
+ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+@@ -47,8 +91,25 @@
+ CONFIG_HEADER = config
+ CONFIG_CLEAN_FILES =
+ CONFIG_CLEAN_VPATH_FILES =
++AM_V_P = $(am__v_P_@AM_V@)
++am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
++am__v_P_0 = false
++am__v_P_1 = :
++AM_V_GEN = $(am__v_GEN_@AM_V@)
++am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
++am__v_GEN_0 = @echo " GEN " $@;
++am__v_GEN_1 =
++AM_V_at = $(am__v_at_@AM_V@)
++am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
++am__v_at_0 = @
++am__v_at_1 =
+ SOURCES =
+ DIST_SOURCES =
++am__can_run_installinfo = \
++ case $$AM_UPDATE_INFO_DIR in \
++ n|no|NO) false;; \
++ *) (install-info --version) >/dev/null 2>&1;; \
++ esac
+ am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+ am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+@@ -70,25 +131,59 @@
+ am__base_list = \
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
++am__uninstall_files_from_dir = { \
++ test -z "$$files" \
++ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
++ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
++ $(am__cd) "$$dir" && rm -f $$files; }; \
++ }
+ am__installdirs = "$(DESTDIR)$(apertium_en_esdir)"
+ DATA = $(apertium_en_es_DATA)
++am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
++ $(LISP)config.in
++# Read a list of newline-separated strings from the standard input,
++# and print each of them once, without duplicates. Input order is
++# *not* preserved.
++am__uniquify_input = $(AWK) '\
++ BEGIN { nonempty = 0; } \
++ { items[$$0] = 1; nonempty = 1; } \
++ END { if (nonempty) { for (i in items) print i; }; } \
++'
++# Make sure the list of sources is unique. This is necessary because,
++# e.g., the same source file might be shared among _SOURCES variables
++# for different programs/libraries.
++am__define_uniq_tagged_files = \
++ list='$(am__tagged_files)'; \
++ unique=`for i in $$list; do \
++ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
++ done | $(am__uniquify_input)`
++ETAGS = etags
++CTAGS = ctags
++CSCOPE = cscope
++AM_RECURSIVE_TARGETS = cscope
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ distdir = $(PACKAGE)-$(VERSION)
+ top_distdir = $(distdir)
+ am__remove_distdir = \
+- { test ! -d "$(distdir)" \
+- || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
+- && rm -fr "$(distdir)"; }; }
++ if test -d "$(distdir)"; then \
++ find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
++ && rm -rf "$(distdir)" \
++ || { sleep 5 && rm -rf "$(distdir)"; }; \
++ else :; fi
++am__post_remove_distdir = $(am__remove_distdir)
+ DIST_ARCHIVES = $(distdir).tar.gz
+ GZIP_ENV = --best
++DIST_TARGETS = dist-gzip
+ distuninstallcheck_listfiles = find . -type f -print
++am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
++ | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
+ distcleancheck_listfiles = find . -type f -print
+ ACLOCAL = @ACLOCAL@
+ ALTXSL = @ALTXSL@
+ AMTAR = @AMTAR@
++AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+ APERTIUM_CFLAGS = @APERTIUM_CFLAGS@
+ APERTIUM_LIBS = @APERTIUM_LIBS@
+-APERTIUM_VER = @APERTIUM_VER@
+ AUTOCONF = @AUTOCONF@
+ AUTOHEADER = @AUTOHEADER@
+ AUTOMAKE = @AUTOMAKE@
+@@ -183,7 +278,7 @@
+ $(BASENAME).$(LANG1)-lextor.dix $(BASENAME).$(LANG2)-lextor.dix \
+ $(BASENAME).$(PREFIX1)-lextor.dix $(BASENAME).$(PREFIX2)-lextor.dix
+
+-TARGETS = $(TARGETS_COMMON)
++TARGETS = $(TARGETS_COMMON)
+ EXTRA_DIST = $(BASENAME).post-$(LANG1).dix $(BASENAME).post-$(LANG2).dix \
+ $(BASENAME).$(LANG1).tsx \
+ $(BASENAME).$(LANG2).tsx \
+@@ -221,7 +316,7 @@
+ $(MAKE) $(AM_MAKEFLAGS) all-am
+
+ .SUFFIXES:
+-am--refresh:
++am--refresh: Makefile
+ @:
+ $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+@@ -257,15 +352,13 @@
+ $(am__aclocal_m4_deps):
+
+ config: stamp-h1
+- @if test ! -f $@; then \
+- rm -f stamp-h1; \
+- $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
+- else :; fi
++ @test -f $@ || rm -f stamp-h1
++ @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
+
+ stamp-h1: $(srcdir)/config.in $(top_builddir)/config.status
+ @rm -f stamp-h1
+ cd $(top_builddir) && $(SHELL) ./config.status config
+-$(srcdir)/config.in: $(am__configure_deps)
++$(srcdir)/config.in: $(am__configure_deps)
+ ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
+ rm -f stamp-h1
+ touch $@
+@@ -274,8 +367,11 @@
+ -rm -f config stamp-h1
+ install-apertium_en_esDATA: $(apertium_en_es_DATA)
+ @$(NORMAL_INSTALL)
+- test -z "$(apertium_en_esdir)" || $(MKDIR_P) "$(DESTDIR)$(apertium_en_esdir)"
+ @list='$(apertium_en_es_DATA)'; test -n "$(apertium_en_esdir)" || list=; \
++ if test -n "$$list"; then \
++ echo " $(MKDIR_P) '$(DESTDIR)$(apertium_en_esdir)'"; \
++ $(MKDIR_P) "$(DESTDIR)$(apertium_en_esdir)" || exit 1; \
++ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+@@ -289,15 +385,66 @@
+ @$(NORMAL_UNINSTALL)
+ @list='$(apertium_en_es_DATA)'; test -n "$(apertium_en_esdir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+- test -n "$$files" || exit 0; \
+- echo " ( cd '$(DESTDIR)$(apertium_en_esdir)' && rm -f" $$files ")"; \
+- cd "$(DESTDIR)$(apertium_en_esdir)" && rm -f $$files
+-tags: TAGS
+-TAGS:
++ dir='$(DESTDIR)$(apertium_en_esdir)'; $(am__uninstall_files_from_dir)
++
++ID: $(am__tagged_files)
++ $(am__define_uniq_tagged_files); mkid -fID $$unique
++tags: tags-am
++TAGS: tags
++
++tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
++ set x; \
++ here=`pwd`; \
++ $(am__define_uniq_tagged_files); \
++ shift; \
++ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
++ test -n "$$unique" || unique=$$empty_fix; \
++ if test $$# -gt 0; then \
++ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
++ "$$@" $$unique; \
++ else \
++ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
++ $$unique; \
++ fi; \
++ fi
++ctags: ctags-am
+
+-ctags: CTAGS
+-CTAGS:
++CTAGS: ctags
++ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
++ $(am__define_uniq_tagged_files); \
++ test -z "$(CTAGS_ARGS)$$unique" \
++ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
++ $$unique
++
++GTAGS:
++ here=`$(am__cd) $(top_builddir) && pwd` \
++ && $(am__cd) $(top_srcdir) \
++ && gtags -i $(GTAGS_ARGS) "$$here"
++cscope: cscope.files
++ test ! -s cscope.files \
++ || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
++clean-cscope:
++ -rm -f cscope.files
++cscope.files: clean-cscope cscopelist
++cscopelist: cscopelist-am
++
++cscopelist-am: $(am__tagged_files)
++ list='$(am__tagged_files)'; \
++ case "$(srcdir)" in \
++ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
++ *) sdir=$(subdir)/$(srcdir) ;; \
++ esac; \
++ for i in $$list; do \
++ if test -f "$$i"; then \
++ echo "$(subdir)/$$i"; \
++ else \
++ echo "$$sdir/$$i"; \
++ fi; \
++ done >> $(top_builddir)/cscope.files
+
++distclean-tags:
++ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
++ -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
+
+ distdir: $(DISTFILES)
+ $(am__remove_distdir)
+@@ -340,36 +487,42 @@
+ || chmod -R a+r "$(distdir)"
+ dist-gzip: distdir
+ tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
+- $(am__remove_distdir)
++ $(am__post_remove_distdir)
+
+ dist-bzip2: distdir
+- tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
+- $(am__remove_distdir)
++ tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
++ $(am__post_remove_distdir)
+
+-dist-lzma: distdir
+- tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
+- $(am__remove_distdir)
++dist-lzip: distdir
++ tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
++ $(am__post_remove_distdir)
+
+ dist-xz: distdir
+- tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
+- $(am__remove_distdir)
++ tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
++ $(am__post_remove_distdir)
+
+ dist-tarZ: distdir
++ @echo WARNING: "Support for shar distribution archives is" \
++ "deprecated." >&2
++ @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
+ tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
+- $(am__remove_distdir)
++ $(am__post_remove_distdir)
+
+ dist-shar: distdir
++ @echo WARNING: "Support for distribution archives compressed with" \
++ "legacy program 'compress' is deprecated." >&2
++ @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
+ shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
+- $(am__remove_distdir)
++ $(am__post_remove_distdir)
+
+ dist-zip: distdir
+ -rm -f $(distdir).zip
+ zip -rq $(distdir).zip $(distdir)
+- $(am__remove_distdir)
++ $(am__post_remove_distdir)
+
+-dist dist-all: distdir
+- tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
+- $(am__remove_distdir)
++dist dist-all:
++ $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
++ $(am__post_remove_distdir)
+
+ # This target untars the dist file and tries a VPATH configuration. Then
+ # it guarantees that the distribution is self-contained by making another
+@@ -380,8 +533,8 @@
+ GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
+ *.tar.bz2*) \
+ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
+- *.tar.lzma*) \
+- lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
++ *.tar.lz*) \
++ lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
+ *.tar.xz*) \
+ xz -dc $(distdir).tar.xz | $(am__untar) ;;\
+ *.tar.Z*) \
+@@ -391,17 +544,19 @@
+ *.zip*) \
+ unzip $(distdir).zip ;;\
+ esac
+- chmod -R a-w $(distdir); chmod a+w $(distdir)
+- mkdir $(distdir)/_build
+- mkdir $(distdir)/_inst
++ chmod -R a-w $(distdir)
++ chmod u+w $(distdir)
++ mkdir $(distdir)/_build $(distdir)/_inst
+ chmod a-w $(distdir)
+ test -d $(distdir)/_build || exit 0; \
+ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
+ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
+ && am__cwd=`pwd` \
+ && $(am__cd) $(distdir)/_build \
+- && ../configure --srcdir=.. --prefix="$$dc_install_base" \
++ && ../configure \
++ $(AM_DISTCHECK_CONFIGURE_FLAGS) \
+ $(DISTCHECK_CONFIGURE_FLAGS) \
++ --srcdir=.. --prefix="$$dc_install_base" \
+ && $(MAKE) $(AM_MAKEFLAGS) \
+ && $(MAKE) $(AM_MAKEFLAGS) dvi \
+ && $(MAKE) $(AM_MAKEFLAGS) check \
+@@ -424,13 +579,21 @@
+ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
+ && cd "$$am__cwd" \
+ || exit 1
+- $(am__remove_distdir)
++ $(am__post_remove_distdir)
+ @(echo "$(distdir) archives ready for distribution: "; \
+ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
+ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
+ distuninstallcheck:
+- @$(am__cd) '$(distuninstallcheck_dir)' \
+- && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
++ @test -n '$(distuninstallcheck_dir)' || { \
++ echo 'ERROR: trying to run $@ with an empty' \
++ '$$(distuninstallcheck_dir)' >&2; \
++ exit 1; \
++ }; \
++ $(am__cd) '$(distuninstallcheck_dir)' || { \
++ echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
++ exit 1; \
++ }; \
++ test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
+ || { echo "ERROR: files left after uninstall:" ; \
+ if test -n "$(DESTDIR)"; then \
+ echo " (check DESTDIR support)"; \
+@@ -463,10 +626,15 @@
+
+ installcheck: installcheck-am
+ install-strip:
+- $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+- install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+- `test -z '$(STRIP)' || \
+- echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
++ if test -z '$(STRIP)'; then \
++ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
++ install; \
++ else \
++ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
++ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
++ fi
+ mostlyclean-generic:
+
+ clean-generic:
+@@ -486,7 +654,7 @@
+ distclean: distclean-am
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
+ -rm -f Makefile
+-distclean-am: clean-am distclean-generic distclean-hdr
++distclean-am: clean-am distclean-generic distclean-hdr distclean-tags
+
+ dvi: dvi-am
+
+@@ -550,20 +718,21 @@
+
+ .MAKE: all install-am install-strip
+
+-.PHONY: all all-am am--refresh check check-am clean clean-generic dist \
+- dist-all dist-bzip2 dist-gzip dist-lzma dist-shar dist-tarZ \
+- dist-xz dist-zip distcheck distclean distclean-generic \
+- distclean-hdr distcleancheck distdir distuninstallcheck dvi \
+- dvi-am html html-am info info-am install install-am \
+- install-apertium_en_esDATA install-data install-data-am \
+- install-data-local install-dvi install-dvi-am install-exec \
+- install-exec-am install-html install-html-am install-info \
+- install-info-am install-man install-pdf install-pdf-am \
+- install-ps install-ps-am install-strip installcheck \
+- installcheck-am installdirs maintainer-clean \
+- maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
+- pdf-am ps ps-am uninstall uninstall-am \
+- uninstall-apertium_en_esDATA
++.PHONY: CTAGS GTAGS TAGS all all-am am--refresh check check-am clean \
++ clean-cscope clean-generic cscope cscopelist-am ctags ctags-am \
++ dist dist-all dist-bzip2 dist-gzip dist-lzip dist-shar \
++ dist-tarZ dist-xz dist-zip distcheck distclean \
++ distclean-generic distclean-hdr distclean-tags distcleancheck \
++ distdir distuninstallcheck dvi dvi-am html html-am info \
++ info-am install install-am install-apertium_en_esDATA \
++ install-data install-data-am install-data-local install-dvi \
++ install-dvi-am install-exec install-exec-am install-html \
++ install-html-am install-info install-info-am install-man \
++ install-pdf install-pdf-am install-ps install-ps-am \
++ install-strip installcheck installcheck-am installdirs \
++ maintainer-clean maintainer-clean-generic mostlyclean \
++ mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \
++ uninstall-am uninstall-apertium_en_esDATA
+
+
+ $(BASENAME).$(LANG1)-lextor.dix: $(BASENAME).$(PREFIX1).dix
+@@ -604,8 +773,8 @@
+ lt-comp lr .deps/$(LANG1).dix $@ $(BASENAME).$(LANG1).acx
+
+ #$(PREFIX1).automorf.bin: $(BASENAME).$(LANG1).metadix $(BASENAME).$(LANG1).acx
+-# @xsltproc buscaPar.xsl apertium-en-es.en.metadix | uniq > tmp1gen.xsl
+-# @xsltproc tmp1gen.xsl apertium-en-es.en.metadix >$(BASENAME).$(LANG1).dixtmp1
++# @xsltproc buscaPar.xsl apertium-en-es.en.metadix | uniq > tmp1gen.xsl
++# @xsltproc tmp1gen.xsl apertium-en-es.en.metadix >$(BASENAME).$(LANG1).dixtmp1
+ # @rm tmp1gen.xsl
+ # apertium-validate-acx $(BASENAME).$(LANG1).acx
+ # apertium-validate-dictionary $(BASENAME).$(LANG1).dixtmp1
+@@ -646,15 +815,15 @@
+ lt-comp rl .deps/$(LANG1b).dix $@
+
+ #$(PREFIX2).autogen.bin: $(BASENAME).$(LANG1).metadix
+-# @xsltproc buscaPar.xsl apertium-en-es.en.metadix | uniq > tmp2gen.xsl
++# @xsltproc buscaPar.xsl apertium-en-es.en.metadix | uniq > tmp2gen.xsl
+ # @xsltproc tmp2gen.xsl apertium-en-es.en.metadix >$(BASENAME).$(LANG1).dixtmp2
+ # @rm tmp2gen.xsl
+ # apertium-validate-dictionary $(BASENAME).$(LANG1).dixtmp2
+ # lt-comp rl $(BASENAME).$(LANG1).dixtmp2 $@
+ # @rm $(BASENAME).$(LANG1).dixtmp2
+ # @rm $(BASENAME).$(LANG1).metadix
+-# @rm $(BASENAME).$(LANG2).dix
+-# @rm $(BASENAME).$(LANG1)-$(LANG2).dix
++# @rm $(BASENAME).$(LANG2).dix
++# @rm $(BASENAME).$(LANG1)-$(LANG2).dix
+
+ $(PREFIX2).autopgen.bin: $(BASENAME).post-$(LANG1).dix
+ apertium-validate-dictionary $(BASENAME).post-$(LANG1).dix
+@@ -713,13 +882,13 @@
+
+ install-data-local:
+ apertium-gen-modes modes.xml apertium-$(PREFIX1)
+- $(INSTALL_DATA) $(PREFIX1).mode $(apertium_en_modesdir)
+- $(INSTALL_DATA) $(PREFIX2).mode $(apertium_en_modesdir)
+- $(INSTALL_DATA) $(PREFIX2b).mode $(apertium_en_modesdir)
+- $(INSTALL_DATA) $(BASENAME).$(PREFIX1).genitive.t1x $(apertium_en_esdir)
+- $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t1x $(BASENAME).$(PREFIX1).t2x $(apertium_en_esdir)
+- $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t3x $(BASENAME).$(PREFIX2).t1x $(apertium_en_esdir)
+- $(INSTALL_DATA) $(BASENAME).$(PREFIX2).t2x $(BASENAME).$(PREFIX2).t3x $(apertium_en_esdir)
++ $(INSTALL_DATA) $(PREFIX1).mode $(DESTDIR)$(apertium_en_modesdir)
++ $(INSTALL_DATA) $(PREFIX2).mode $(DESTDIR)$(apertium_en_modesdir)
++ $(INSTALL_DATA) $(PREFIX2b).mode $(DESTDIR)$(apertium_en_modesdir)
++ $(INSTALL_DATA) $(BASENAME).$(PREFIX1).genitive.t1x $(DESTDIR)$(apertium_en_esdir)
++ $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t1x $(BASENAME).$(PREFIX1).t2x $(DESTDIR)$(apertium_en_esdir)
++ $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t3x $(BASENAME).$(PREFIX2).t1x $(DESTDIR)$(apertium_en_esdir)
++ $(INSTALL_DATA) $(BASENAME).$(PREFIX2).t2x $(BASENAME).$(PREFIX2).t3x $(DESTDIR)$(apertium_en_esdir)
+
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..19902c6579b7
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,43 @@
+# Contributor: Kevin Brubeck Unhammer <unhammer@fsfe.org>
+# Maintainer: Kevin Brubeck Unhammer <unhammer@fsfe.org>
+pkgname=apertium-en-es
+pkgver=0.8.0
+pkgrel=1
+pkgdesc="Apertium language data for the English-Spanish translator."
+url="http://apertium.org"
+license=('GPL')
+makedepends=('pkgconfig')
+depends=('lttoolbox>=3.2' 'apertium>=3.2')
+arch=('i686' 'x86_64')
+source=("http://downloads.sourceforge.net/sourceforge/apertium/${pkgname}-${pkgver}.tar.gz"
+ "configure.ac.patch"
+ "Makefile.am.patch"
+ "Makefile.in.patch")
+md5sums=('4b82c32edbd5315432192799ed641930'
+ '4968bf33612ae8fc3f0d253d81de2c4b'
+ 'dfae1753dac1a8720de76829a79c3401'
+ 'a93870ddb3343f9913582b44d2a70a12')
+sha256sums=('b497b545982491d6e4c46b69e3167291bfdfae3d988917a996e5c44265f9fcdf'
+ 'f8345047daf60bf45f9218a551f4207c5b08ce8d318e1f5462909695e2151875'
+ '35bd9284dcbbded62436f672fa32e5846b21897f23d526f90a1b53b5302e87c1'
+ '1be3c6d97cfd3677df4e85742c3e199e512abf301411a5df05b9ff71b29c5e39')
+
+build() {
+ patch -p1 < configure.ac.patch
+ patch -p1 < Makefile.am.patch
+ patch -p1 < Makefile.in.patch
+
+ cd "$srcdir/$pkgname-$pkgver"
+
+ autoreconf -fi
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ mkdir -p "$pkgdir/usr/share/apertium/modes"
+
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+}
diff --git a/configure.ac.patch b/configure.ac.patch
new file mode 100644
index 000000000000..38219b361ff6
--- /dev/null
+++ b/configure.ac.patch
@@ -0,0 +1,49 @@
+--- src/apertium-en-es-0.8.0/configure.ac.old 2014-10-06 10:34:40.274729186 +0200
++++ src/apertium-en-es-0.8.0/configure.ac 2014-10-06 10:34:47.024262162 +0200
+@@ -10,38 +10,7 @@
+ AC_PROG_AWK
+ AC_CONFIG_HEADER([config])
+
+-AC_DEFUN([PKG_CHECK_APERTIUM], [
+- APERTIUM_VER=0
+- PKG_CHECK_MODULES(APERTIUM, apertium-1.0 >= 1.0.0,
+- [
+- APERTIUM_VER=10
+- ],
+- [
+- PKG_CHECK_MODULES(APERTIUM, apertium-2.0 >= 2.0.0,
+- [
+- APERTIUM_VER=20
+- ],
+- [
+- PKG_CHECK_MODULES(APERTIUM, apertium-3.0 >= 3.0.0,
+- [
+- APERTIUM_VER=30
+- ],
+- [
+- PKG_CHECK_MODULES(APERTIUM, apertium-3.1 >= 3.1.0,
+- [
+- APERTIUM_VER=31
+- ],
+- [
+- PKG_CHECK_MODULES(APERTIUM, apertium-3.2 >= 3.2.0)
+- APERTIUM_VER=32
+- ])
+- ])
+- ])
+- ])
+- AC_SUBST(APERTIUM_VER)
+-])
+-
+-PKG_CHECK_APERTIUM
++PKG_CHECK_MODULES(APERTIUM, apertium >= required_apertium_version, [], [PKG_CHECK_MODULES(APERTIUM, apertium-3.2 >= required_apertium_version)])
+
+ if test $APERTIUM_VER = 10;
+ then MODES="";
+@@ -53,5 +22,5 @@
+ AC_SUBST(MODES)
+ AC_SUBST(ALTXSL)
+
+-
++
+ AC_OUTPUT([Makefile])