diff options
author | Matteo De Carlo | 2018-03-08 16:41:12 +0100 |
---|---|---|
committer | Matteo De Carlo | 2018-03-08 16:41:12 +0100 |
commit | 5ec536f1e7ed45f949d24624bc753996a46bd4d4 (patch) | |
tree | b2e34470e8e1a8d8f9a6e9cc5a15a8179727488c /PKGBUILD | |
download | aur-5ec536f1e7ed45f949d24624bc753996a46bd4d4.tar.gz |
first commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5b1f36268436 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: portaloffreedom + +# This is a fork of the PyAIML Python AIML interpreter. +# It has been refactored to make it install and work in both Python 2.7 and Python 3. + +pkgname=python-aiml +pkgver=0.9.0 +pkgrel=1 +pkgdesc="An interpreter module for AIML (Artificial Intelligence Markup Language), implemented in pure Python (python3 fork)" +url="https://github.com/paulovn/python-aiml" +license=("BSD-2-Clause" 'LGPL') +arch=("any") +depends=('python') +makedepends=('python2') +source=("https://github.com/paulovn/${pkgname}/archive/$pkgver.tar.gz") +sha256sums=('dd8ece9aa324b1c4fd3404b1f5ecd79d2d0b30d22d730ee7269e7781e93e851e') + +build() { + cd $srcdir/${pkgname}-$pkgver + python3 setup.py build +} + +check() { + cd $srcdir/${pkgname}-$pkgver + python2 setup.py test +} + +package() { + cd $srcdir/${pkgname}-$pkgver + python3 setup.py install --root $pkgdir +} + + |