From b5b9c72ea9fc05600bfcab6569ce89ca2185d19d Mon Sep 17 00:00:00 2001 From: Gaming4JC Date: Thu, 2 Jun 2016 18:31:49 -0400 Subject: import more apertium files --- pcr/apertium/apertium-es-gl/Makefile.am.patch | 38 ++++++++++++++++++++++++++ pcr/apertium/apertium-es-gl/PKGBUILD | 5 ++++ pcr/apertium/apertium-es-gl/configure.ac.patch | 19 +++++++++++++ 3 files changed, 62 insertions(+) create mode 100644 pcr/apertium/apertium-es-gl/Makefile.am.patch create mode 100644 pcr/apertium/apertium-es-gl/configure.ac.patch (limited to 'pcr/apertium/apertium-es-gl') diff --git a/pcr/apertium/apertium-es-gl/Makefile.am.patch b/pcr/apertium/apertium-es-gl/Makefile.am.patch new file mode 100644 index 000000000..be662d9da --- /dev/null +++ b/pcr/apertium/apertium-es-gl/Makefile.am.patch @@ -0,0 +1,38 @@ +--- ../apertium-es-gl-1.0.7/Makefile.am 2009-03-11 22:20:58.000000000 +0100 ++++ apertium-es-gl-1.0.7/Makefile.am 2010-09-15 15:57:44.000000000 +0200 +@@ -20,7 +20,7 @@ + xmllint --xinclude $(BASENAME).$(LANG2).dix.xml > $(BASENAME).$(LANG2).dix + $(BASENAME).$(LANG1)-$(LANG2).dix: + xmllint --xinclude $(BASENAME).$(LANG1)-$(LANG2).dix.xml > $(BASENAME).$(LANG1)-$(LANG2).dix +- ++ + $(PREFIX1).automorf.bin: $(BASENAME).$(LANG1).dix + apertium-validate-dictionary $(BASENAME).$(LANG1).dix + lt-comp lr $(BASENAME).$(LANG1).dix $@ +@@ -97,7 +97,7 @@ + rm $(BASENAME).$(LANG1).dix + rm $(BASENAME).$(LANG2).dix + rm $(BASENAME).$(PREFIX1).dix +- ++ + apertium_es_gldir=$(prefix)/share/apertium/apertium-$(PREFIX1)/ + apertium_es_modesdir=$(prefix)/share/apertium/modes/ + +@@ -116,12 +116,12 @@ + $(PREFIX1).t1x.bin \ + $(PREFIX2).t1x.bin \ + $(PREFIX1).mode $(PREFIX2).mode modes.xml apertium-$(PREFIX1).symbols.xml +- ++ + install-data-local: + apertium-gen-modes modes.xml apertium-$(PREFIX1) +- $(INSTALL_DATA) $(PREFIX1).mode $(apertium_es_modesdir) +- $(INSTALL_DATA) $(PREFIX2).mode $(apertium_es_modesdir) +- $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t1x $(apertium_es_gldir) +- $(INSTALL_DATA) $(BASENAME).$(PREFIX2).t1x $(apertium_es_gldir) ++ $(INSTALL_DATA) $(PREFIX1).mode $(DESTDIR)$(apertium_es_modesdir) ++ $(INSTALL_DATA) $(PREFIX2).mode $(DESTDIR)$(apertium_es_modesdir) ++ $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t1x $(DESTDIR)$(apertium_es_gldir) ++ $(INSTALL_DATA) $(BASENAME).$(PREFIX2).t1x $(DESTDIR)$(apertium_es_gldir) + + CLEANFILES = -rf $(TARGETS_COMMON) modes diff --git a/pcr/apertium/apertium-es-gl/PKGBUILD b/pcr/apertium/apertium-es-gl/PKGBUILD index 5794fdd5f..b48ee82b7 100644 --- a/pcr/apertium/apertium-es-gl/PKGBUILD +++ b/pcr/apertium/apertium-es-gl/PKGBUILD @@ -29,4 +29,9 @@ build() { ./configure --prefix=/usr make || return 1 make DESTDIR="$pkgdir/" install || return 1 +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir/" install } \ No newline at end of file diff --git a/pcr/apertium/apertium-es-gl/configure.ac.patch b/pcr/apertium/apertium-es-gl/configure.ac.patch new file mode 100644 index 000000000..0b77ae270 --- /dev/null +++ b/pcr/apertium/apertium-es-gl/configure.ac.patch @@ -0,0 +1,19 @@ +--- ../apertium-es-gl-1.0.7/configure.ac 2009-03-11 22:22:18.000000000 +0100 ++++ apertium-es-gl-1.0.7/configure.ac 2010-09-21 16:04:49.907405446 +0200 +@@ -29,8 +29,14 @@ + APERTIUM_VER=30 + ], + [ +- PKG_CHECK_MODULES(APERTIUM, apertium-3.1 >= 3.1.0) +- APERTIUM_VER=31 ++ 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 ++ ]) + ]) + ]) + ]) -- cgit v1.2.3