Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (25 sloc) 1.1 KB
# Maintainer: ArchStrike <team@archstrike.org>
buildarch=1
_pkgname=pyvex
pkgname=python-${_pkgname}
pkgver=8.19.2.4
pkgrel=1
pkgdesc="A Python interface to libVEX and VEX IR."
url="https://pypi.python.org/pypi/pyvex"
depends=('python-pycparser' 'python-archinfo' 'python-cffi' 'python-future' 'python-bitstring')
makedepends=('python-setuptools')
license=('custom')
arch=('any')
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz"
"https://raw.githubusercontent.com/angr/pyvex/master/LICENSE")
sha512sums=('41af20a1fe649e22c9d4dd051ec7461d81b686d6f9393d89ea6236f738bd1087ab91d973e1fa71cd90bb60a3853cfe142bfefc859f0437edbfe9e3f7df24afe1'
'8a94d011bb35da762d22d68505e8a58b250aa31e77b99ed0671de6f010d935087b7ee04e06ca47f61062309323f140448ff42e913a23e64f5c69d2c988c5f340')
build() {
cd ${srcdir}/pyvex-${pkgver}
python setup.py build
}
package() {
cd ${srcdir}/pyvex-${pkgver}
python setup.py install --root="${pkgdir}" -O1 --skip-build
install -Dm644 ${srcdir}/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}