blob: e628b2fc7dbd97436a41297f9d8fa3e15a7bcc0c (
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
|
_pkgname=python-folia
pkgname=${_pkgname}-git
pkgver=479
pkgrel=3
pkgdesc='Command line tools for dealing with the FoLiA format (Format for Linguistic Annotation).'
arch=('i686' 'x86_64')
url="https://proycon.github.io/folia"
license=('GPL')
depends=('python' 'python-setuptools' 'python-lxml' 'python-pynlpl-git')
makedepends=('git')
provides=("${_pkgname}")
conflicts=("python2-folia")
source=("git+https://github.com/proycon/folia.git")
_gitname=("folia")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$_gitname"
git rev-list --count HEAD
}
build() {
cd "$srcdir/$_gitname"
python setup.py build
}
package() {
cd "$srcdir/$_gitname"
python setup.py install --prefix=/usr --root="${pkgdir}"
}
|