diff options
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 31 |
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..cad0ded79003 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = python2-nltk_contrib-git + pkgdesc = Natural Language Toolkit, Contrib Area + pkgver = 20141014 + pkgrel = 1 + url = http://www.nltk.org/ + arch = any + license = APACHE + depends = python2-nltk + depends = git + source = git+https://github.com/nltk/nltk_contrib.git + sha1sums = SKIP + +pkgname = python2-nltk_contrib-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..261de2afba2f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: nosada <ngsksdt@gmail.com> + +pkgname=python2-nltk_contrib-git +_pkgname=nltk_contrib +pkgver=20141014 +pkgrel=1 +pkgdesc="Natural Language Toolkit, Contrib Area" +url="http://www.nltk.org/" +arch=('any') +license=('APACHE') +depends=('python2-nltk' 'git') +source=('git+https://github.com/nltk/nltk_contrib.git') +sha1sums=('SKIP') + +pkgver() { + date +%Y%m%d +} + +build() { + cd ${srcdir}/${_pkgname} + + python2 setup.py build +} + +package() { + cd ${srcdir}/${_pkgname} + + python2 setup.py install --root=${pkgdir} +} + +# vim:set ts=2 sw=2 et: |