summaryrefslogtreecommitdiff
path: root/pcr/apertium/apertium-en-ca
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/apertium/apertium-en-ca')
-rw-r--r--pcr/apertium/apertium-en-ca/Makefile.am.patch39
-rw-r--r--pcr/apertium/apertium-en-ca/PKGBUILD39
-rw-r--r--pcr/apertium/apertium-en-ca/configure.ac.patch50
3 files changed, 0 insertions, 128 deletions
diff --git a/pcr/apertium/apertium-en-ca/Makefile.am.patch b/pcr/apertium/apertium-en-ca/Makefile.am.patch
deleted file mode 100644
index e2578d941..000000000
--- a/pcr/apertium/apertium-en-ca/Makefile.am.patch
+++ /dev/null
@@ -1,39 +0,0 @@
---- src/apertium-en-ca-0.9.3/Makefile.am.old 2011-10-21 11:50:27.000000000 +0200
-+++ src/apertium-en-ca-0.9.3/Makefile.am 2015-08-06 15:10:49.742491212 +0200
-@@ -14,16 +14,14 @@
-
- TARGETS_COMMON = $(PREFIX1).automorf.bin $(PREFIX1).autobil.bin $(PREFIX1).autogen.bin \
- $(PREFIX1).autopgen.bin $(PREFIX2).automorf.bin $(PREFIX2).autobil.bin \
-- $(PREFIX2).autogen.bin $(PREFIX2).autopgen.bin $(PREFIX1).lextormono.bin $(PREFIX2).lextormono.bin \
-- $(PREFIX1).lextorbil.bin $(PREFIX2).lextorbil.bin $(PREFIX1).genitive.bin \
-+ $(PREFIX2).autogen.bin $(PREFIX2).autopgen.bin \
-+ $(PREFIX1).genitive.bin \
- $(PREFIX1).t1x.bin $(PREFIX1).t2x.bin $(PREFIX1).t3x.bin \
- $(PREFIX1)-poly.autobil.bin $(PREFIX2)-poly.autobil.bin empty.bin \
- $(PREFIX2).t1x.bin $(PREFIX2).t2x.bin $(PREFIX2).t3x.bin modes \
- $(PREFIX2b).autogen.bin $(PREFVAR2)$(PREFIX1).autobil.bin
-
--TARGETS = $(TARGETS_COMMON) \
-- $(BASENAME).$(LANG1)-lextor.dix $(BASENAME).$(LANG2)-lextor.dix \
-- $(BASENAME).$(PREFIX1)-lextor.dix $(BASENAME).$(PREFIX2)-lextor.dix
-+TARGETS = $(TARGETS_COMMON)
-
- .deps/$(LANG1).metadix: $(BASENAME).$(LANG1).metadix
- if [ ! -d .deps ]; then mkdir .deps; fi
-@@ -251,7 +249,6 @@
- $(BASENAME).$(PREFIX1)-poly.dix $(BASENAME).$(PREFIX2)-poly.dix \
- $(PREFIX1).prob $(PREFIX2).prob \
- buscaPar.xsl principal.xsl apertium-en-ca.en.metadix \
-- $(PREFIX1).lextor $(PREFIX2).lextor \
- $(PREFIX1)-supervised.make $(PREFIX1)-unsupervised.make \
- $(PREFIX2)-supervised.make $(PREFIX2)-unsupervised.make \
- $(LANG1)-tagger-data/README $(LANG2)-tagger-data/README \
-@@ -272,8 +269,6 @@
- $(PREFVAR2)$(PREFIX1).autogen.bin $(PREFVAR2)$(PREFIX1).autopgen.bin\
- $(PREFIX1)-poly.autobil.bin $(PREFIX2)-poly.autobil.bin \
- $(PREFIX1).prob $(PREFIX2).prob \
-- $(PREFIX1).lextormono.bin $(PREFIX2).lextormono.bin \
-- $(PREFIX1).lextorbil.bin $(PREFIX2).lextorbil.bin \
- $(BASENAME).$(PREFIX1).genitive.t1x \
- $(PREFIX1).genitive.bin \
- $(PREFIX1).t1x.bin $(PREFIX1).t2x.bin $(PREFIX1).t3x.bin \
diff --git a/pcr/apertium/apertium-en-ca/PKGBUILD b/pcr/apertium/apertium-en-ca/PKGBUILD
deleted file mode 100644
index 70cecd785..000000000
--- a/pcr/apertium/apertium-en-ca/PKGBUILD
+++ /dev/null
@@ -1,39 +0,0 @@
-# Contributor: Kevin Brubeck Unhammer <unhammer@fsfe.org>
-# Maintainer: Kevin Brubeck Unhammer <unhammer@fsfe.org>
-pkgname=apertium-en-ca
-pkgver=0.9.3
-pkgrel=2
-pkgdesc="Apertium language data for the English-Catalan (including Valencian) translator."
-url="http://apertium.org"
-license=('GPL')
-makedepends=('pkgconfig')
-depends=('lttoolbox>=3.2' 'apertium>=3.2')
-arch=('i686' 'x86_64')
-source=("https://downloads.sourceforge.net/sourceforge/apertium/${pkgname}-${pkgver}.tar.gz"
- "Makefile.am.patch"
- "configure.ac.patch")
-md5sums=('c984145a73c10c332c45b92bb676c37a'
- '452356ce2ca88ad9c7cba79c879f8961'
- '69cf23698c83a2d4456a0b5c0f7d8a13')
-sha256sums=('c56e1f1c3fece009dc7c6b68af70f04ca9fbdee8e4b5e2ed8ea603f2f22ef0d5'
- 'fd8d3d4b91201a4c451c9ca39dd1ccae26749d1e9a319bd1c6e5e899878be2de'
- 'f8e473ed4b180976d09a772f5d5f0827a019c4ad3ca420a818e38c9402da72e3')
-
-build() {
- patch -p1 < configure.ac.patch
- patch -p1 < Makefile.am.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/pcr/apertium/apertium-en-ca/configure.ac.patch b/pcr/apertium/apertium-en-ca/configure.ac.patch
deleted file mode 100644
index a98d5fd31..000000000
--- a/pcr/apertium/apertium-en-ca/configure.ac.patch
+++ /dev/null
@@ -1,50 +0,0 @@
---- src/apertium-en-ca-0.9.3/configure.ac.old 2014-10-06 08:20:42.497145582 +0200
-+++ src/apertium-en-ca-0.9.3/configure.ac 2014-10-06 08:20:54.236332341 +0200
-@@ -12,39 +12,8 @@
- AC_PROG_AWK
- AC_CONFIG_HEADER([config])
-
-+PKG_CHECK_MODULES(APERTIUM, apertium >= required_apertium_version, [], [PKG_CHECK_MODULES(APERTIUM, apertium-3.2 >= required_apertium_version)])
-
--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
-
- AC_PATH_PROG(XSLTPROC, xsltproc, no)
- if test x$ac_cv_path_XSLTPROC = x
-@@ -55,5 +24,5 @@
- then
- AC_MSG_ERROR([You don't have xsltproc installed.])
- fi
--
-+
- AC_OUTPUT([Makefile])