diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..97f4d16c9e6d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Morten Linderud <morten@linderud.pw> +pkgname="molecule" +pkgver=2.0.0.rc12 +pkgrel=1 +pkgdesc='Molecule aids in the development and testing of Ansible roles.' +url='https://github.com/metacloud/molecule/tree/2.0.0.rc12' +arch=('any') +license=('MIT') +makedepends=('python' 'python-setuptools') +depends=('ansible-lint' 'python-colorama' 'flake8' + 'python-jinja' 'python-marshmallow' 'python-gilt' + 'python-tabulate' 'python-pbr' 'python-pexpect' + 'python-yaml' 'python-sh' 'python-click' 'yamllint') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/metacloud/molecule/archive/${pkgver}.tar.gz") +sha256sums=('f27894ac47e37cf54be159a45e84b6adfae4127ec77e9c46a9c4bfeb5fc8ee24') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + python setup.py build +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + python setup.py install --root="${pkgdir}" --optimize=1 --skip-build +} + +# vim:set ft=sh ts=2 sw=2 et: |