summaryrefslogtreecommitdiff
path: root/pcr/apertium-en-es
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2018-05-23 22:35:22 -0400
committerbill-auger <mr.j.spam.me@gmail.com>2018-05-24 00:38:08 -0400
commit33ed8cbc820fb251aa87058f9539eee582681651 (patch)
tree8607174ff27c7d8a1361769c5a475c0816731059 /pcr/apertium-en-es
parent6e4cd7a980b4493d40689286aec2a6335aa763cf (diff)
downloadabslibre-33ed8cbc820fb251aa87058f9539eee582681651.tar.gz
abslibre-33ed8cbc820fb251aa87058f9539eee582681651.tar.bz2
abslibre-33ed8cbc820fb251aa87058f9539eee582681651.zip
add apertium-en-es-git
Diffstat (limited to 'pcr/apertium-en-es')
-rw-r--r--pcr/apertium-en-es/PKGBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/pcr/apertium-en-es/PKGBUILD b/pcr/apertium-en-es/PKGBUILD
new file mode 100644
index 000000000..f7f20e95d
--- /dev/null
+++ b/pcr/apertium-en-es/PKGBUILD
@@ -0,0 +1,41 @@
+# Contributor (AUR): Kevin Brubeck Unhammer <unhammer@fsfe.org>
+# Maintainer (AUR): Kevin Brubeck Unhammer <unhammer@fsfe.org>
+
+# parabola changes and rationale:
+# no changes
+# NOTE: the AUR PKGBUILD patches the autotools files
+# but it was using a version of 'apertium-en-es' from 2011
+# so i did not take the patches
+
+
+pkgname=apertium-en-es-git
+pkgver=d0a72e428a23081aaf479d00f30d63053a149cce
+pkgrel=1
+pkgdesc="Apertium translation pair for English and Spanish"
+url="http://apertium.org"
+license=('GPL2')
+makedepends=('apertium-lex-tools')
+depends=('apertium>=3.4')
+arch=('i686' 'x86_64' 'armv7h')
+source=(https://github.com/apertium/apertium-en-es/archive/${pkgver}.zip)
+md5sums=('e07b933c9b3afb7526e342dfa05f7999')
+sha256sums=('ddee8430463c796a85b3c6fb42735dc7352941a403564f5808e7479ba7895d27')
+
+_builddir="${pkgname/%-git}-$pkgver"
+
+
+build()
+{
+ cd "$srcdir/$_builddir"
+
+ ./autogen.sh
+ ./configure --prefix=/usr
+ make
+}
+
+package()
+{
+ cd "$srcdir/$_builddir"
+
+ make DESTDIR="$pkgdir/" install
+}