# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=volatility
pkgver=2.6
pkgrel=1
pkgdesc="Volatile memory forensics toolkit"
url="http://volatilityfoundation.org/"
arch="noarch"
license="GPL-2.0"
depends="py-crypto"
makedepends="py-setuptools"
source="https://github.com/volatilityfoundation/$pkgname/archive/$pkgver.zip"

builddir="$srcdir/$pkgname-$pkgver"

build () {
	cd "$builddir"
	python2 setup.py build
}

package() {
	cd "$builddir"
	python2 setup.py install --root "$pkgdir"
}

sha512sums="3b34ae15e6c280fbfad7012de125ac7cdbf7b078001caef0e6a002e5f77cabc495a6b05932deebc1825e07bbe8e2154913c81a3668abc066febd82f1ebe186e8  2.6.zip"
