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-pt-gl | |
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-pt-gl')
-rw-r--r-- | pcr/apertium/apertium-pt-gl/Makefile.am.patch | 34 | ||||
-rw-r--r-- | pcr/apertium/apertium-pt-gl/PKGBUILD | 37 | ||||
-rw-r--r-- | pcr/apertium/apertium-pt-gl/configure.ac.patch | 19 |
3 files changed, 0 insertions, 90 deletions
diff --git a/pcr/apertium/apertium-pt-gl/Makefile.am.patch b/pcr/apertium/apertium-pt-gl/Makefile.am.patch deleted file mode 100644 index 4bf675a5d..000000000 --- a/pcr/apertium/apertium-pt-gl/Makefile.am.patch +++ /dev/null @@ -1,34 +0,0 @@ ---- ../apertium-pt-gl-0.9.1/Makefile.am 2009-03-03 20:36:19.000000000 +0100 -+++ apertium-pt-gl-0.9.1/Makefile.am 2010-09-15 16:24:56.000000000 +0200 -@@ -49,7 +49,7 @@ - apertium-validate-transfer $(BASENAME).trules-$(PREFIX1).xml - apertium-preprocess-transfer $(BASENAME).trules-$(PREFIX1).xml \ - trules-$(PREFIX1).bin -- -+ - trules-$(PREFIX2).bin: $(BASENAME).trules-$(PREFIX2).xml - apertium-validate-transfer $(BASENAME).trules-$(PREFIX2).xml - apertium-preprocess-transfer $(BASENAME).trules-$(PREFIX2).xml \ -@@ -68,7 +68,7 @@ - $(BASENAME).trules-$(PREFIX2).xml $(PREFIX1).prob $(PREFIX2).prob \ - $(PREFIX1)-latin1.prob $(PREFIX2)-latin1.prob \ - modes.xml -- -+ - apertium_pt_gldir=$(prefix)/share/apertium/apertium-$(PREFIX1)/ - apertium_pt_modesdir=$(prefix)/share/apertium/modes/ - apertium_pt_gl_DATA=$(PREFIX1).automorf.bin $(PREFIX2).automorf.bin \ -@@ -87,9 +87,9 @@ - - install-data-local: - apertium-gen-modes modes.xml apertium-$(PREFIX1) -- $(INSTALL_DATA) $(PREFIX1).mode $(apertium_pt_modesdir) -- $(INSTALL_DATA) $(PREFIX2).mode $(apertium_pt_modesdir) -- $(INSTALL_DATA) $(BASENAME).trules-$(PREFIX1).xml $(apertium_pt_gldir) -- $(INSTALL_DATA) $(BASENAME).trules-$(PREFIX2).xml $(apertium_pt_gldir) -+ $(INSTALL_DATA) $(PREFIX1).mode $(DESTDIR)$(apertium_pt_modesdir) -+ $(INSTALL_DATA) $(PREFIX2).mode $(DESTDIR)$(apertium_pt_modesdir) -+ $(INSTALL_DATA) $(BASENAME).trules-$(PREFIX1).xml $(DESTDIR)$(apertium_pt_gldir) -+ $(INSTALL_DATA) $(BASENAME).trules-$(PREFIX2).xml $(DESTDIR)$(apertium_pt_gldir) - - CLEANFILES = -rf $(TARGETS_COMMON) modes trules-$(PREFIX1).xml trules-$(PREFIX2).xml trules-$(PREFIX1).bin trules-$(PREFIX2).bin diff --git a/pcr/apertium/apertium-pt-gl/PKGBUILD b/pcr/apertium/apertium-pt-gl/PKGBUILD deleted file mode 100644 index 4078e56a8..000000000 --- a/pcr/apertium/apertium-pt-gl/PKGBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Contributor: Kevin Brubeck Unhammer <unhammer@gmail.com> -# Maintainer: Kevin Brubeck Unhammer <unhammer@gmail.com> -pkgname=apertium-pt-gl -pkgver=0.9.1 -pkgrel=2 -pkgdesc="Apertium language data for the Portuguese-Galician 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=('3629d1967374f76d51ad58de24d65875' - 'a00fb565b4270a3864f39cadcf2c1831' - 'de1df1d4a94d1852c584b8de14207168') - -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-pt-gl/configure.ac.patch b/pcr/apertium/apertium-pt-gl/configure.ac.patch deleted file mode 100644 index 29df734c4..000000000 --- a/pcr/apertium/apertium-pt-gl/configure.ac.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- ../apertium-pt-gl-0.9.1/configure.ac 2009-03-03 20:36:40.000000000 +0100 -+++ apertium-pt-gl-0.9.1/configure.ac 2010-09-21 16:37:31.294072111 +0200 -@@ -19,8 +19,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 -+ ]) - ]) - AC_SUBST(APERTIUM_VER) - ]) |