diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -1,11 +1,12 @@ # 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') +depends=('python2' 'python-six' 'python2-six' 'python-setuptools' 'python2-setuptools') makedepends=('git') url='https://github.com/aichaos/rivescript-python' source=('git+https://github.com/aichaos/rivescript-python.git') @@ -17,8 +18,11 @@ pkgver () { echo $(git rev-list --count HEAD).$(git describe --always | sed 's/-/./g') } +build() { + python setup.py build +} + package() { - cd "$srcdir/$_gitname" # Git name and $pkgname differs - # Do the actual installation - python setup.py install --prefix=/usr --root="$_gitname" || return 1 + cd "$srcdir/$_gitname" + python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 || return 1 } |