summaryrefslogtreecommitdiff
path: root/pcr/apertium
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2019-02-10 18:55:52 +0100
committerAndreas Grapentin <andreas@grapentin.org>2019-02-10 18:55:52 +0100
commitb401b75a1203c9fbc02de75d4718531d931a9283 (patch)
tree8d349b80bcf7d224c52837f94f6c2ee2b9d52a2d /pcr/apertium
parent15f77009c7a5c47704dbf0b40f8a77cc358e08cc (diff)
pcr/apertium: updated to 3.5.2
Diffstat (limited to 'pcr/apertium')
-rw-r--r--pcr/apertium/PKGBUILD30
1 files changed, 12 insertions, 18 deletions
diff --git a/pcr/apertium/PKGBUILD b/pcr/apertium/PKGBUILD
index 0fc6fc1d4..f2f8bd661 100644
--- a/pcr/apertium/PKGBUILD
+++ b/pcr/apertium/PKGBUILD
@@ -1,43 +1,37 @@
# Contributor (AUR): Kevin Brubeck Unhammer <unhammer@fsfe.org>
# Maintainer (AUR): Kevin Brubeck Unhammer <unhammer@fsfe.org>
-# parabola changes and rationale:
-# no changes
-
-
pkgname=apertium
-pkgver=3.5.1
+pkgver=3.5.2
pkgrel=1
+arch=('i686' 'x86_64' 'armv7h')
pkgdesc="Language-independent machine translation engine and tools to manage language data."
url="http://apertium.org"
license=('GPL2')
-makedepends=('flex' 'git' 'pkgconfig')
-depends=('lttoolbox>=3.3.3' 'pcre' 'gawk' 'expat' 'libxslt')
+makedepends=('git' 'flex' 'pkgconf')
+depends=('lttoolbox>=3.5' 'pcre' 'gawk' 'expat' 'libxslt')
options=('!libtool')
-arch=('i686' 'x86_64' 'armv7h')
-source=(git://github.com/apertium/apertium.git#tag=v${pkgver}
- git://github.com/unhammer/apertium-get.git)
-md5sums=('SKIP' 'SKIP')
+source=(https://github.com/apertium/$pkgname/releases/download/v$pkgver/apertium-$pkgver.tar.gz
+ git+https://github.com/unhammer/apertium-get.git)
+sha256sums=('90dcc9e7648989346d4bd22e8906ce1eb7027edca1f6d16e807f8a7e232a3d53'
+ 'SKIP')
prepare() {
- cd "$srcdir/$pkgname"
+ cd "$srcdir/$pkgname-$pkgver"
- git submodule init
- git config submodule.apertium-get.url $srcdir/apertium-get
- git submodule update
+ ln -s "$srcdir/apertium-get" apertium/apertium-get
}
build() {
- cd "$srcdir/$pkgname"
+ cd "$srcdir/$pkgname-$pkgver"
- ./autogen.sh
./configure --prefix=/usr
make
}
package() {
- cd "$srcdir/$pkgname"
+ cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
}