summaryrefslogtreecommitdiff
path: root/pcr/apertium/apertium-es-gl
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/apertium/apertium-es-gl')
-rw-r--r--pcr/apertium/apertium-es-gl/Makefile.am.patch38
-rw-r--r--pcr/apertium/apertium-es-gl/PKGBUILD37
-rw-r--r--pcr/apertium/apertium-es-gl/configure.ac.patch19
3 files changed, 0 insertions, 94 deletions
diff --git a/pcr/apertium/apertium-es-gl/Makefile.am.patch b/pcr/apertium/apertium-es-gl/Makefile.am.patch
deleted file mode 100644
index be662d9da..000000000
--- a/pcr/apertium/apertium-es-gl/Makefile.am.patch
+++ /dev/null
@@ -1,38 +0,0 @@
---- ../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
deleted file mode 100644
index b48ee82b7..000000000
--- a/pcr/apertium/apertium-es-gl/PKGBUILD
+++ /dev/null
@@ -1,37 +0,0 @@
-# Contributor: Kevin Brubeck Unhammer <unhammer@gmail.com>
-# Maintainer: Kevin Brubeck Unhammer <unhammer@gmail.com>
-pkgname=apertium-es-gl
-pkgver=1.0.7
-pkgrel=2
-pkgdesc="Apertium language data for the Spanish-Galician translator."
-url="http://apertium.org"
-license=('GPL')
-makedepends=('pkgconfig')
-depends=('lttoolbox>=3.0' 'apertium>=3.0')
-arch=('i686' 'x86_64')
-source=("http://downloads.sourceforge.net/sourceforge/apertium/${pkgname}-${pkgver}.tar.gz"
- "Makefile.am.patch"
- "configure.ac.patch")
-md5sums=('17e5dd2df012f8848479ed9205d9248c'
- 'b60a40523e1104ed8ce1d03bd8c9f54d'
- 'b3c34766a80291fb1bbb221d8b93cf18')
-
-build() {
- patch -p0 < Makefile.am.patch
- patch -p0 < configure.ac.patch
-
- mkdir -p "$pkgdir/usr/share/apertium/modes"
-
- cd "$srcdir/$pkgname-$pkgver"
-
- autoreconf -i
-
- ./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
deleted file mode 100644
index 0b77ae270..000000000
--- a/pcr/apertium/apertium-es-gl/configure.ac.patch
+++ /dev/null
@@ -1,19 +0,0 @@
---- ../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
-+ ])
- ])
- ])
- ])