blob: 403bf3639cd9f6e610f2a9be7b841a72ddca8ca0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# 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' 'python2-six' 'python-setuptools' 'python2-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')
}
build() {
python setup.py build
}
package() {
cd "$srcdir/$_gitname"
python setup.py install --prefix=/usr --root="${_gitname}" --optimize=1 || return 1
}
|