summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Brubeck Unhammer2015-07-14 10:22:33 +0200
committerKevin Brubeck Unhammer2015-07-14 10:22:33 +0200
commit70207060d766a70f043b1be63914937261b01c4f (patch)
tree7fd7d45c14704b9fc14d33b80cc2f6c33145162b
downloadaur-70207060d766a70f043b1be63914937261b01c4f.tar.gz
Initial import
-rw-r--r--.SRCINFO20
-rw-r--r--Makefile.am.patch16
-rw-r--r--Makefile.in.patch17
-rw-r--r--PKGBUILD30
4 files changed, 83 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..03c13aff968b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = apertium-eo-en
+ pkgdesc = Apertium language data for the Esperanto-English translator.
+ pkgver = 1.0.0
+ pkgrel = 1
+ url = http://apertium.org
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = pkgconfig
+ depends = lttoolbox>=3.0
+ depends = apertium>=3.0
+ source = http://downloads.sourceforge.net/sourceforge/apertium/apertium-eo-en-1.0.0.tar.gz
+ source = Makefile.am.patch
+ source = Makefile.in.patch
+ md5sums = df00059573f4a87d90dc56394daf6793
+ md5sums = 31dfb82e3412a1159786ce65a2748910
+ md5sums = 6145fc4ec2ceddd7270fa2111d11bb73
+
+pkgname = apertium-eo-en
+
diff --git a/Makefile.am.patch b/Makefile.am.patch
new file mode 100644
index 000000000000..aa737b7e2e1f
--- /dev/null
+++ b/Makefile.am.patch
@@ -0,0 +1,16 @@
+--- ../apertium-eo-en-1.0.0/Makefile.am 2010-02-03 15:43:40.000000000 +0100
++++ apertium-eo-en-1.0.0/Makefile.am 2010-09-15 14:18:53.000000000 +0200
+@@ -149,9 +149,9 @@
+
+ install-data-local:
+ apertium-gen-modes modes.xml apertium-$(PREFIX1)
+- $(INSTALL_DATA) $(PREFIX1).mode $(apertium_eo_modesdir)
+- $(INSTALL_DATA) $(PREFIX2).mode $(apertium_eo_modesdir)
+- $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t1x $(BASENAME).$(PREFIX1).antaux_t2x $(BASENAME).$(PREFIX1).t2x $(BASENAME).$(PREFIX1).t3x $(apertium_eo_endir)
+- $(INSTALL_DATA) $(BASENAME).$(PREFIX2).t1x $(BASENAME).$(PREFIX2).genitive.t1x $(BASENAME).$(PREFIX2).antaux_t2x $(BASENAME).$(PREFIX2).t2x $(BASENAME).$(PREFIX2).t3x $(apertium_eo_endir)
++ $(INSTALL_DATA) $(PREFIX1).mode $(DESTDIR)$(apertium_eo_modesdir)
++ $(INSTALL_DATA) $(PREFIX2).mode $(DESTDIR)$(apertium_eo_modesdir)
++ $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t1x $(BASENAME).$(PREFIX1).antaux_t2x $(BASENAME).$(PREFIX1).t2x $(BASENAME).$(PREFIX1).t3x $(DESTDIR)$(apertium_eo_endir)
++ $(INSTALL_DATA) $(BASENAME).$(PREFIX2).t1x $(BASENAME).$(PREFIX2).genitive.t1x $(BASENAME).$(PREFIX2).antaux_t2x $(BASENAME).$(PREFIX2).t2x $(BASENAME).$(PREFIX2).t3x $(DESTDIR)$(apertium_eo_endir)
+
+ CLEANFILES = -rf $(TARGETS_COMMON) tmp1_$(BASENAME).$(LANG2).dix $(TARGETS) modes *.mode *.bin apertium-eo-en.eo-multiwords.xml
diff --git a/Makefile.in.patch b/Makefile.in.patch
new file mode 100644
index 000000000000..0ba03e98511b
--- /dev/null
+++ b/Makefile.in.patch
@@ -0,0 +1,17 @@
+--- ../apertium-eo-en-1.0.0/Makefile.in 2010-02-03 15:44:38.000000000 +0100
++++ apertium-eo-en-1.0.0/Makefile.in 2010-09-15 14:19:00.000000000 +0200
+@@ -653,10 +653,10 @@
+
+ install-data-local:
+ apertium-gen-modes modes.xml apertium-$(PREFIX1)
+- $(INSTALL_DATA) $(PREFIX1).mode $(apertium_eo_modesdir)
+- $(INSTALL_DATA) $(PREFIX2).mode $(apertium_eo_modesdir)
+- $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t1x $(BASENAME).$(PREFIX1).antaux_t2x $(BASENAME).$(PREFIX1).t2x $(BASENAME).$(PREFIX1).t3x $(apertium_eo_endir)
+- $(INSTALL_DATA) $(BASENAME).$(PREFIX2).t1x $(BASENAME).$(PREFIX2).genitive.t1x $(BASENAME).$(PREFIX2).antaux_t2x $(BASENAME).$(PREFIX2).t2x $(BASENAME).$(PREFIX2).t3x $(apertium_eo_endir)
++ $(INSTALL_DATA) $(PREFIX1).mode $(DESTDIR)$(apertium_eo_modesdir)
++ $(INSTALL_DATA) $(PREFIX2).mode $(DESTDIR)$(apertium_eo_modesdir)
++ $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t1x $(BASENAME).$(PREFIX1).antaux_t2x $(BASENAME).$(PREFIX1).t2x $(BASENAME).$(PREFIX1).t3x $(DESTDIR)$(apertium_eo_endir)
++ $(INSTALL_DATA) $(BASENAME).$(PREFIX2).t1x $(BASENAME).$(PREFIX2).genitive.t1x $(BASENAME).$(PREFIX2).antaux_t2x $(BASENAME).$(PREFIX2).t2x $(BASENAME).$(PREFIX2).t3x $(DESTDIR)$(apertium_eo_endir)
+
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..69bb76fc2cbc
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Contributor: Kevin Brubeck Unhammer <unhammer@gmail.com>
+# Maintainer: Kevin Brubeck Unhammer <unhammer@gmail.com>
+pkgname=apertium-eo-en
+pkgver=1.0.0
+pkgrel=1
+pkgdesc="Apertium language data for the Esperanto-English 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"
+ "Makefile.in.patch")
+md5sums=('df00059573f4a87d90dc56394daf6793'
+ '31dfb82e3412a1159786ce65a2748910'
+ '6145fc4ec2ceddd7270fa2111d11bb73')
+
+build() {
+ patch -p0 < Makefile.am.patch
+ patch -p0 < Makefile.in.patch
+
+ mkdir -p "$pkgdir/usr/share/apertium/modes"
+
+ cd "$srcdir/$pkgname-$pkgver"
+
+ ./configure --prefix=/usr
+ make || return 1
+ make DESTDIR="$pkgdir/" install || return 1
+} \ No newline at end of file