summaryrefslogtreecommitdiff
path: root/pcr/apertium-lex-tools/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/apertium-lex-tools/PKGBUILD')
-rw-r--r--pcr/apertium-lex-tools/PKGBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/pcr/apertium-lex-tools/PKGBUILD b/pcr/apertium-lex-tools/PKGBUILD
new file mode 100644
index 000000000..09defbbbe
--- /dev/null
+++ b/pcr/apertium-lex-tools/PKGBUILD
@@ -0,0 +1,40 @@
+# 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-lex-tools
+pkgver=0.2.0
+pkgrel=1
+pkgdesc="Apertium lex tools for compiling translation pairs"
+url="http://apertium.org"
+license=('GPL3')
+makedepends=()
+depends=('apertium>=3.5' 'lttoolbox>=3.4')
+arch=('i686' 'x86_64' 'armv7h')
+source=(https://github.com/apertium/apertium-lex-tools/archive/v${pkgver}.tar.gz)
+
+md5sums=('7b47064210b9807956e68c5c132bc1ff')
+sha256sums=('c8d94488a0b7c3eec99699d8532b7218b6ed6a41023dfb9281fd15860c4e0419')
+
+
+build()
+{
+ cd "$srcdir/$pkgname-$pkgver"
+
+ ./autogen.sh
+ ./configure --prefix=/usr
+ make
+}
+
+package()
+{
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir/" install
+}