diff options
author | Adán Sánchez de Pedro Crespo | 2017-11-10 12:08:58 +0100 |
---|---|---|
committer | Adán Sánchez de Pedro Crespo | 2017-11-10 12:11:11 +0100 |
commit | 9e92d345e8cfb7c71fc2fc6a7e1a2c2f288fce1f (patch) | |
tree | 6bf967b83efb5932030c33df7f3489a831092ee5 | |
download | aur-9e92d345e8cfb7c71fc2fc6a7e1a2c2f288fce1f.tar.gz |
PKGBUILD and .SRCINFO for mongoaudit 0.0.3
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..90b9278c9137 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = mongoaudit + pkgdesc = An automated pentesting tool that lets you know if your MongoDB instances are properly secured + pkgver = 0.0.3 + pkgrel = 1 + url = https://github.com/stampery/mongoaudit + arch = any + license = MIT + makedepends = python2-setuptools + depends = python2 + source = https://files.pythonhosted.org/packages/source/m/mongoaudit/mongoaudit-0.0.3.tar.gz + md5sums = 040f6080e15fe2dbeff574bb98e0da67 + +pkgname = mongoaudit + depends = python2 + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..3b063a158716 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Adán Sánchez de Pedro <adan at stampery dot com> +pkgbase=('mongoaudit') +pkgname=('mongoaudit') +_module='mongoaudit' +pkgver='0.0.3' +pkgrel=1 +pkgdesc="An automated pentesting tool that lets you know if your MongoDB instances are properly secured" +url="https://github.com/stampery/mongoaudit" +depends=('python2') +makedepends=('python2-setuptools') +license=('MIT') +arch=('any') +source=("https://files.pythonhosted.org/packages/source/m/mongoaudit/mongoaudit-${pkgver}.tar.gz") +md5sums=('040f6080e15fe2dbeff574bb98e0da67') + +build() { + cd "${srcdir}/${_module}-${pkgver}" + sudo python2 setup.py develop + python2 setup.py build +} + +package() { + depends+=() + cd "${srcdir}/${_module}-${pkgver}" + python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build +} |