From 82d053b14aa5a46da43e14ae72fdb9ec614aae3e Mon Sep 17 00:00:00 2001 From: Gaming4JC Date: Tue, 31 May 2016 17:38:19 -0400 Subject: adding apertium and dependencies --- pcr/apertium/apertium-fr-es/PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 pcr/apertium/apertium-fr-es/PKGBUILD (limited to 'pcr/apertium/apertium-fr-es/PKGBUILD') diff --git a/pcr/apertium/apertium-fr-es/PKGBUILD b/pcr/apertium/apertium-fr-es/PKGBUILD new file mode 100644 index 000000000..46eb436b9 --- /dev/null +++ b/pcr/apertium/apertium-fr-es/PKGBUILD @@ -0,0 +1,30 @@ +# Contributor: Kevin Brubeck Unhammer +# Maintainer: Kevin Brubeck Unhammer +pkgname=apertium-fr-es +pkgver=0.9.2 +pkgrel=1 +pkgdesc="Apertium language data for the French-Spanish translator." +url="http://apertium.org" +license=('GPL') +makedepends=('pkgconfig' 'autoconf') +depends=('lttoolbox>=3.2.0' 'apertium>=3.2.0') +arch=('i686' 'x86_64') +source=("http://downloads.sourceforge.net/sourceforge/apertium/${pkgname}-${pkgver}.tar.gz" + "Makefile.am.patch") +md5sums=('0b04ee8f1694f95adafb2589c802829e' + '0020317ca43e1b16f6584d7365351df0') + +build() { + patch -p0 < Makefile.am.patch + + mkdir -p "$pkgdir/usr/share/apertium/modes" + + cd "$srcdir/$pkgname-$pkgver" + + autoreconf -i # or we could patch the huge configure script... + + export PATH="/usr/bin:${PATH}" # override /usr/local/bin + ./configure --prefix=/usr + make || return 1 + make DESTDIR="$pkgdir/" install || return 1 +} \ No newline at end of file -- cgit v1.2.3-54-g00ecf