summaryrefslogtreecommitdiff
path: root/pcr/apertium/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/apertium/PKGBUILD')
-rw-r--r--pcr/apertium/PKGBUILD20
1 files changed, 14 insertions, 6 deletions
diff --git a/pcr/apertium/PKGBUILD b/pcr/apertium/PKGBUILD
index 30529368a..0fc6fc1d4 100644
--- a/pcr/apertium/PKGBUILD
+++ b/pcr/apertium/PKGBUILD
@@ -11,17 +11,25 @@ pkgrel=1
pkgdesc="Language-independent machine translation engine and tools to manage language data."
url="http://apertium.org"
license=('GPL2')
-makedepends=('flex' 'pkgconfig' 'subversion')
+makedepends=('flex' 'git' 'pkgconfig')
depends=('lttoolbox>=3.3.3' 'pcre' 'gawk' 'expat' 'libxslt')
options=('!libtool')
arch=('i686' 'x86_64' 'armv7h')
-source=(https://github.com/apertium/apertium/archive/v${pkgver}.tar.gz)
-md5sums=('1ff1cb4cd1fb8a5bbe8952e2bc06a84b')
-sha256sums=('867e69cf2a146a580116bcc210e56695301e521caad5714bbe418122c21dc5c4')
+source=(git://github.com/apertium/apertium.git#tag=v${pkgver}
+ git://github.com/unhammer/apertium-get.git)
+md5sums=('SKIP' 'SKIP')
+prepare() {
+ cd "$srcdir/$pkgname"
+
+ git submodule init
+ git config submodule.apertium-get.url $srcdir/apertium-get
+ git submodule update
+}
+
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$srcdir/$pkgname"
./autogen.sh
./configure --prefix=/usr
@@ -29,7 +37,7 @@ build() {
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$srcdir/$pkgname"
make DESTDIR="$pkgdir/" install
}