summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNOGISAKA Sadata2015-06-09 23:03:13 +0900
committerNOGISAKA Sadata2015-06-09 23:03:13 +0900
commitfff9301e97f293843aa7a3eb8f85e0ad0eeb55e4 (patch)
tree660fd2b567745e662c6b8602a806a63fd155cce8
downloadaur-fff9301e97f293843aa7a3eb8f85e0ad0eeb55e4.tar.gz
initial import
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD31
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..cad0ded7900
--- /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 00000000000..261de2afba2
--- /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: