diff options
author | Matheus | 2016-01-17 15:50:31 -0200 |
---|---|---|
committer | Matheus | 2016-01-17 15:50:31 -0200 |
commit | 2e0ebbd907f1983178532517181805a3979b20dc (patch) | |
tree | bf5ab774b02aa99e59e9d3c94f23670864f80979 | |
download | aur-2e0ebbd907f1983178532517181805a3979b20dc.tar.gz |
Init
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..e44f2cbd77c2 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +# Generated by mksrcinfo v8 +# Sun Jan 17 17:50:18 UTC 2016 +pkgbase = python-rivescript + pkgdesc = Rendering Intelligence Very Easily + pkgver = 1.0 + pkgrel = 1 + url = https://github.com/aichaos/rivescript-python + arch = any + license = MIT + makedepends = git + depends = python2 + depends = python-six + depends = python-setuptools + source = git+https://github.com/aichaos/rivescript-python.git + md5sums = SKIP + +pkgname = python-rivescript + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..675b112c9f7c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Trevor <assviolat0r at live dot com> +pkgname=python-rivescript +pkgver=1.0 +pkgrel=1 +pkgdesc="Rendering Intelligence Very Easily" +arch=('any') +license=('MIT') +depends=('python2' 'python-six' 'python-setuptools') +makedepends=('git') +url='https://github.com/aichaos/rivescript-python' +source=('git+https://github.com/aichaos/rivescript-python.git') +md5sums=('SKIP') +_gitname=rivescript-python + +pkgver () { + cd $_gitname + echo $(git rev-list --count HEAD).$(git describe --always | sed 's/-/./g') +} + +package() { + cd "$srcdir/$_gitname" # Git name and $pkgname differs + # Do the actual installation + python setup.py install +} |