# Template file for 'capstone' pkgname=capstone version=5.0.1 revision=2 build_style=gnu-makefile make_use_env=yes hostmakedepends="python3-setuptools" short_desc="Lightweight multi-platform, multi-architecture disassembly framework" maintainer="André Cerqueira " license="BSD-2-Clause" homepage="https://www.capstone-engine.org/" changelog="https://raw.githubusercontent.com/capstone-engine/capstone/next/ChangeLog" distfiles="https://github.com/aquynh/capstone/archive/${version}.tar.gz" checksum=2b9c66915923fdc42e0e32e2a9d7d83d3534a45bb235e163a70047951890c01a post_install() { make -C bindings/python PREFIX=/usr DESTDIR=${DESTDIR} install3 vlicense LICENSE.TXT LICENSE } capstone-devel_package() { short_desc+=" - development files" depends="${sourcepkg}>=${version}_${revision}" pkg_install() { vmove usr/include vmove usr/lib/*.a vmove usr/lib/*.so vmove usr/lib/pkgconfig } } capstone-python3_package() { short_desc+=" - Python3 bindings" depends="${sourcepkg}>=${version}_${revision} python3" pkg_install() { vmove usr/lib/python3* vlicense bindings/python/LICENSE.TXT } }