diff options
author | Maarten van Gompel | 2015-06-21 12:51:18 +0200 |
---|---|---|
committer | Maarten van Gompel | 2015-06-21 12:51:18 +0200 |
commit | 6b0a9feb7b4359495af85d8bbcd1b179f5dcb368 (patch) | |
tree | 34e41e22246247e93fcafddffd7472bd948b04dc | |
download | aur-6b0a9feb7b4359495af85d8bbcd1b179f5dcb368.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 31 |
2 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..db67fe2c1cc2 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = python-folia-git + pkgdesc = Command line tools for dealing with the FoLiA format (Format for Linguistic Annotation). + pkgver = 479 + pkgrel = 2 + url = https://proycon.github.io/folia + arch = i686 + arch = x86_64 + license = GPL + makedepends = git + depends = python + depends = python-setuptools + depends = python-lxml + depends = python-pynlpl-git + provides = python-folia + conflicts = python2-folia + source = git://github.com/proycon/folia.git + md5sums = SKIP + +pkgname = python-folia-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..1ff40cf43ec2 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +_pkgname=python-folia +pkgname=${_pkgname}-git +pkgver=479 +pkgrel=2 +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://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}" +} + |