aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-distorm3/APKBUILD
blob: c6c7ea30acfbb1213077c59b073bd2fb783a22d8 (plain) (blame)
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
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=py3-distorm3
_pkgname=distorm3
pkgver=3.5.0
pkgrel=0
pkgdesc="Disassembler Library For x86/AMD64"
url="https://pypi.python.org/pypi/distorm3"
arch="all"
license="BSD-3-Clause"
depends="python3"
makedepends="py3-setuptools python3-dev"
source="https://files.pythonhosted.org/packages/source/d/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

replaces="py-distorm3" # Backwards compatibility
provides="py-distorm3=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

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

sha512sums="ad9415a0a1a65a7ad3824b19ec83df90459eeb153494efb6623a8f02c60b6d0cf61d7dae4143eb1dd0586f5c7a7115f4a53cea5609296f703e5db612ce925011  distorm3-3.5.0.tar.gz"