blob: 10abaa148b0d1677b2f20aa1676d3850e858593a (
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
|
_pkgname=python-frog
pkgname=${_pkgname}-git
pkgver=1
pkgrel=2
pkgdesc='Python binding for Frog, a NLP suite for Dutch containing a part-of-speech tagger, lemmatizer, morphological analyser, named entity recognition, shallow parser and dependency parser'
arch=('i686' 'x86_64')
url="https://github.com/proycon/python-frog"
license=('GPL')
depends=('python' 'frog>=0.12.20')
makedepends=('git' 'cython')
provides=("${_pkgname}")
source=("git+https://github.com/proycon/python-frog.git")
_gitname=("python-frog")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$_gitname"
git rev-list --count HEAD
}
build() {
cd "$srcdir/$_gitname"
python setup.py build_ext build
}
package() {
cd "$srcdir/$_gitname"
python setup.py install --prefix=/usr --root="${pkgdir}"
}
|