# Contributor: Timo Teräs # Maintainer: Timo Teräs pkgname=py3-distorm3 _pkgname=distorm3 pkgver=3.4.1 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" source="https://github.com/gdabah/distorm/releases/download/v$pkgver/$_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="798c50616112e84cc4f04f67f799cb751970b792c8370528424aa437330dc3a77239c275f145215e31ca5370256ac2cb926f7cd98bb0fc4e48f97f12f873f1d9 distorm3-3.4.1.tar.gz"