blob: a1071f4281ed90627b3f1c0927de2e78108813db (
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
29
30
31
32
33
34
|
# Maintainer: Martin Jindra <mjindra[at]derchef[dot]email>
pkgname=volatility3-git
pkgver=v2.4.0.3707.1641a6e4
pkgrel=1
pkgdesc='Advanced memory forensics framework'
url='https://github.com/volatilityfoundation/volatility3'
arch=('any')
license=('custom')
depends=(
'python>3.6' 'python-yara' 'python-capstone' 'python-jsonschema'
'python-pycryptodome' 'python-pefile')
makedepends=('python-setuptools' 'git')
provides=('volatility3')
conflicts=('volatility3')
source=(${pkgname}::git+${url})
sha256sums=('SKIP')
pkgver() {
cd ${pkgname}
printf "%s.%s.%s" "$(git describe --tags $(git rev-list --tags --max-count=1))" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd ${pkgname}
python setup.py build
}
package() {
cd ${pkgname}
python setup.py install -O1 --prefix=/usr --root="${pkgdir}" --skip-build
install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
install -Dm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
|