summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b07fdd33fe52bd04bb36be507f3ad7a5dac05c68 (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 : Christian Hofmann <chof@pfho.net>
pkgname=python-malboxes-git
_pkgname=malboxes
pkgver=294.f086475
pkgrel=1
pkgdesc="Builds malware analysis Windows VMs so that you don't have to."
arch=('any')
url='https://github.com/GoSecure/malboxes'
license=('GPL')
depends=('python' 'packer-io' 'virtualbox' 'vagrant'
         'python-jsmin' 'python-jinja' 'python-appdirs')
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: