aboutsummaryrefslogblamecommitdiffstats
path: root/testing/py3-distorm3/APKBUILD
blob: f8a00f39aa0bde075d7afc6d8ec380292c0d9f2b (plain) (tree)
1
2
3
4
5
6
7
8
9

                                              

                    
            
        
                                            

                                           
                      

                            
                                                                                              
                                    


                                                                 

         



                              
                                                                            

 
                                                                                                                                                                    
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=py3-distorm3
_pkgname=distorm3
pkgver=3.4.1
pkgrel=1
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"