diff options
author | Andreas Grapentin <andreas@grapentin.org> | 2018-01-20 19:16:04 +0100 |
---|---|---|
committer | Andreas Grapentin <andreas@grapentin.org> | 2018-01-20 19:16:04 +0100 |
commit | 9773bdc3e83c18ec2dcf1b4e8d59bac68b5a70d2 (patch) | |
tree | 6c4b0c48e04eff116a476ade577eb2484132e292 /pcr/apertium/apertium-fr-ca | |
parent | 1f2e04ab21753fc2764036aa3c62f4ee6d73dece (diff) | |
download | abslibre-9773bdc3e83c18ec2dcf1b4e8d59bac68b5a70d2.tar.gz abslibre-9773bdc3e83c18ec2dcf1b4e8d59bac68b5a70d2.tar.bz2 abslibre-9773bdc3e83c18ec2dcf1b4e8d59bac68b5a70d2.zip |
pcr/apertium: updated to 3.4.2
Diffstat (limited to 'pcr/apertium/apertium-fr-ca')
-rw-r--r-- | pcr/apertium/apertium-fr-ca/Makefile.am.patch | 38 | ||||
-rw-r--r-- | pcr/apertium/apertium-fr-ca/PKGBUILD | 37 | ||||
-rw-r--r-- | pcr/apertium/apertium-fr-ca/configure.ac.patch | 19 |
3 files changed, 0 insertions, 94 deletions
diff --git a/pcr/apertium/apertium-fr-ca/Makefile.am.patch b/pcr/apertium/apertium-fr-ca/Makefile.am.patch deleted file mode 100644 index 30bb29327..000000000 --- a/pcr/apertium/apertium-fr-ca/Makefile.am.patch +++ /dev/null @@ -1,38 +0,0 @@ ---- ../apertium-fr-ca-1.0.2/Makefile.am 2009-03-12 20:49:44.000000000 +0100 -+++ apertium-fr-ca-1.0.2/Makefile.am 2010-09-15 15:49:32.000000000 +0200 -@@ -48,7 +48,7 @@ - apertium-validate-transfer $(BASENAME).$(PREFIX1).t1x - apertium-preprocess-transfer $(BASENAME).$(PREFIX1).t1x \ - $(PREFIX1).t1x.bin -- -+ - $(PREFIX2).t1x.bin: $(BASENAME).$(PREFIX2).t1x - apertium-validate-transfer $(BASENAME).$(PREFIX2).t1x - apertium-preprocess-transfer $(BASENAME).$(PREFIX2).t1x \ -@@ -64,12 +64,12 @@ - $(PREFIX1)-supervised.make $(PREFIX1)-unsupervised.make \ - $(PREFIX2)-supervised.make $(PREFIX2)-unsupervised.make \ - $(LANG1)-tagger-data/README $(LANG2)-tagger-data/README -- -+ - apertium-fr-ca.fr.dix: apertium-fr-ca.fr.metadix - @xsltproc buscaPar.xsl apertium-fr-ca.fr.metadix | uniq > $$gen.xsl - @xsltproc $$gen.xsl apertium-fr-ca.fr.metadix >$@ - @rm $$gen.xsl -- -+ - apertium_fr_cadir=$(prefix)/share/apertium/apertium-$(PREFIX1)/ - apertium_fr_modesdir=$(prefix)/share/apertium/modes/ - -@@ -91,8 +91,8 @@ - - install-data-local: - apertium-gen-modes modes.xml apertium-$(PREFIX1) -- $(INSTALL_DATA) $(PREFIX1).mode $(apertium_fr_modesdir) -- $(INSTALL_DATA) $(PREFIX2).mode $(apertium_fr_modesdir) -- $(INSTALL_DATA) $(BASENAME).$(PREFIX2).t1x $(BASENAME).$(PREFIX1).t1x $(apertium_fr_cadir) -+ $(INSTALL_DATA) $(PREFIX1).mode $(DESTDIR)$(apertium_fr_modesdir) -+ $(INSTALL_DATA) $(PREFIX2).mode $(DESTDIR)$(apertium_fr_modesdir) -+ $(INSTALL_DATA) $(BASENAME).$(PREFIX2).t1x $(BASENAME).$(PREFIX1).t1x $(DESTDIR)$(apertium_fr_cadir) - - CLEANFILES = -rf $(TARGETS) modes $(BASENAME).$(LANG1).dix *.mode diff --git a/pcr/apertium/apertium-fr-ca/PKGBUILD b/pcr/apertium/apertium-fr-ca/PKGBUILD deleted file mode 100644 index 5a78cc3e2..000000000 --- a/pcr/apertium/apertium-fr-ca/PKGBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Contributor: Kevin Brubeck Unhammer <unhammer@gmail.com> -# Maintainer: Kevin Brubeck Unhammer <unhammer@gmail.com> -pkgname=apertium-fr-ca -pkgver=1.0.2 -pkgrel=2 -pkgdesc="Apertium language data for the French-Catalan translator." -url="http://apertium.org" -license=('GPL') -makedepends=('pkgconfig' 'autoconf') -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=('f04cb595c342a623a5d17cd1f5bfa1f3' - '25adf0c47d303ec33e8859e153f8f500' - '4ec3f673513fa04ca595878d79707849') - -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-fr-ca/configure.ac.patch b/pcr/apertium/apertium-fr-ca/configure.ac.patch deleted file mode 100644 index 5006f7e0d..000000000 --- a/pcr/apertium/apertium-fr-ca/configure.ac.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- ../apertium-fr-ca-1.0.2/configure.ac 2009-03-12 20:55:15.000000000 +0100 -+++ apertium-fr-ca-1.0.2/configure.ac 2010-09-21 16:13:21.567405445 +0200 -@@ -27,8 +27,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 -+ ]) - ]) - ]) - ]) |