# Contributor: Timo Teräs # Maintainer: Timo Teräs pkgname=py3-distorm3 _pkgname=distorm3 pkgver=3.5.2 pkgrel=4 pkgdesc="Disassembler Library For x86/AMD64" url="https://pypi.org/project/distorm3" arch="all" license="BSD-3-Clause" depends="python3" makedepends="py3-setuptools python3-dev" subpackages="$pkgname-pyc" 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=" bc08a12f87e6bf22ff9bbba8a34b88b0988b80ddec405c669ba5cd863545128f8b3df4b122a69f4849af3d08818c836b368332e6546871bdfee99e611b3f8d19 distorm3-3.5.2.tar.gz "