From 33ed8cbc820fb251aa87058f9539eee582681651 Mon Sep 17 00:00:00 2001 From: bill-auger Date: Wed, 23 May 2018 22:35:22 -0400 Subject: add apertium-en-es-git --- pcr/apertium-en-es/PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 pcr/apertium-en-es/PKGBUILD (limited to 'pcr') 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 +# Maintainer (AUR): Kevin Brubeck Unhammer + +# 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 +} -- cgit v1.2.3