blob: 9c0206f38cace7d9226c9d77b58deac00b591751 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Maintainer: Panos Kanavos <panoskanavos@gmail.com>
pkgname=mosesdecoder
pkgver=3.0.0
pkgrel=2
pkgdesc="State of the art Statistical Machine Translation system - Stable Release 3"
arch=('i686' 'x86_64')
url="http://www.statmt.org/moses"
license=('LGPL')
groups=()
depends=('python2' 'xmlrpc-c')
makedepends=('gcc' 'boost>=1.48' 'zlib' 'git' 'libtool' 'boost-libs' 'cmph')
optdepends=('giza-pp-git: for training models' 'mgiza: multithreaded giza for training models')
provides=()
conflicts=()
replaces=()
backup=()
options=()
install='mosesdecoder.install'
source=('mosesdecoder::git+https://github.com/moses-smt/mosesdecoder.git#branch=RELEASE-3.0-cpp14' 'mosesdecoder.sh')
noextract=()
md5sums=('SKIP' '888ae605a7b0a816005d44923b523016')
package() {
cd "$pkgname"
./bjam --prefix=$pkgdir/opt/moses debug-symbols=off \
--with-xmlrpc-c \
--with-cmph=/usr \
--install-scripts=$pkgdir/opt/moses/moses-scripts \
-j4 -q
mkdir -p $pkgdir/etc/profile.d/
install -m755 $startdir/mosesdecoder.sh $pkgdir/etc/profile.d/
source $pkgdir/etc/profile.d/mosesdecoder.sh
}
|