summaryrefslogtreecommitdiff
path: root/pcr/apertium
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2018-05-25 15:19:17 -0400
committerbill-auger <mr.j.spam.me@gmail.com>2018-05-25 16:02:11 -0400
commitf1c0f887753f154f154764326fb8a0cde2070865 (patch)
tree2ae3479550f607de0a82c5161a4e89d842c0233d /pcr/apertium
parente2945f81c5c8b7a400516ee9b7abcef5c0d9b26d (diff)
downloadabslibre-f1c0f887753f154f154764326fb8a0cde2070865.tar.gz
abslibre-f1c0f887753f154f154764326fb8a0cde2070865.tar.bz2
abslibre-f1c0f887753f154f154764326fb8a0cde2070865.zip
[apertium]: use github sources
Diffstat (limited to 'pcr/apertium')
-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
}