diff options
author | lsf | 2017-02-17 22:28:53 +0100 |
---|---|---|
committer | lsf | 2017-02-17 22:28:53 +0100 |
commit | bde5f8eb268b3715a56be020639f71398283a72c (patch) | |
tree | b28839bb534bb43c354d8a0cf43203647044409d | |
download | aur-bde5f8eb268b3715a56be020639f71398283a72c.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..fa42646b92be --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = python-malboxes-git + pkgdesc = Builds malware analysis Windows VMs so that you don't have to. + pkgver = 161.f0a6a97 + pkgrel = 1 + arch = any + license = GPL + makedepends = python-pip + makedepends = git + depends = python + depends = packer-io + depends = virtualbox + depends = vagrant + depends = python-jsmin + options = !emptydirs + source = git+https://github.com/GoSecure/malboxes.git + md5sums = SKIP + +pkgname = python-malboxes-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..0efd9581123e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer : Christian Hofmann <chof@pfho.net> +pkgname=python-malboxes-git +_pkgname=malboxes +pkgver=161.f0a6a97 +pkgrel=1 +pkgdesc="Builds malware analysis Windows VMs so that you don't have to." +arch=('any') +source='https://github.com/GoSecure/malboxes' +license=('GPL') +depends=('python' 'packer-io' 'virtualbox' 'vagrant' 'python-jsmin') +makedepends=('python-pip' 'git') +options=(!emptydirs) +source=(git+https://github.com/GoSecure/malboxes.git) +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/$_pkgname" + + echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD) +} + +package() { + cd "$srcdir/$_pkgname" + PIP_CONFIG_FILE=/dev/null pip3 install --isolated --root="$pkgdir" --ignore-installed --no-deps ./ +} + +# vim:set ts=2 sw=2 et: |