summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/apertium-eng-spa-git/PKGBUILD (renamed from pcr/apertium-en-es-git/PKGBUILD)0
-rw-r--r--pcr/apertium/PKGBUILD30
2 files changed, 12 insertions, 18 deletions
diff --git a/pcr/apertium-en-es-git/PKGBUILD b/pcr/apertium-eng-spa-git/PKGBUILD
index f7f20e95d..f7f20e95d 100644
--- a/pcr/apertium-en-es-git/PKGBUILD
+++ b/pcr/apertium-eng-spa-git/PKGBUILD
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
}