aboutsummaryrefslogtreecommitdiffstats
path: root/testing/binwalk/APKBUILD
blob: f31b847771fb68d4baa792f4f3e01a76718913c6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=binwalk
pkgver=2.3.1
pkgrel=1
pkgdesc="Fast, easy to use tool for analyzing and extracting firmware images"
url="https://github.com/ReFirmLabs/binwalk/"
arch="noarch"
license="MIT"
depends="py3-pycryptodome python3"
source="$pkgname-$pkgver.tar.gz::https://github.com/ReFirmLabs/binwalk/archive/v$pkgver.tar.gz"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="3c9057c6f56d4bb1d604d3a361b0e682622a93d6d36c67a9f831ae7b17139c4684f52e96ce204d1d1256b79c4a3b806e7a78e2069b6c62eec188fa1586839670  binwalk-2.3.1.tar.gz"