capstone: update to 4.0.2.

This commit is contained in:
Felipe Nogueira 2020-06-16 01:10:46 -03:00 committed by Andrew Benson
parent a309a1e032
commit 27ef4ca610

View file

@ -1,7 +1,7 @@
# Template file for 'capstone' # Template file for 'capstone'
pkgname=capstone pkgname=capstone
version=4.0.1 version=4.0.2
revision=2 revision=1
build_style=gnu-makefile build_style=gnu-makefile
make_use_env=1 make_use_env=1
hostmakedepends="python-setuptools python3-setuptools" hostmakedepends="python-setuptools python3-setuptools"
@ -10,7 +10,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-2-Clause" license="BSD-2-Clause"
homepage="https://www.capstone-engine.org/" homepage="https://www.capstone-engine.org/"
distfiles="https://github.com/aquynh/${pkgname}/archive/${version}.tar.gz" distfiles="https://github.com/aquynh/${pkgname}/archive/${version}.tar.gz"
checksum=79bbea8dbe466bd7d051e037db5961fdb34f67c9fac5c3471dd105cfb1e05dc7 checksum=7c81d798022f81e7507f1a60d6817f63aa76e489aa4e7055255f21a22f5e526a
do_install() { do_install() {
make PREFIX=/usr DESTDIR=${DESTDIR} install make PREFIX=/usr DESTDIR=${DESTDIR} install
@ -32,7 +32,6 @@ capstone-devel_package() {
capstone-python_package() { capstone-python_package() {
short_desc+=" - Python2 bindings" short_desc+=" - Python2 bindings"
pycompile_module="capstone"
depends="${sourcepkg}>=${version}_${revision}" depends="${sourcepkg}>=${version}_${revision}"
pkg_install() { pkg_install() {
vmove usr/lib/python2* vmove usr/lib/python2*
@ -42,7 +41,6 @@ capstone-python_package() {
capstone-python3_package() { capstone-python3_package() {
short_desc+=" - Python3 bindings" short_desc+=" - Python3 bindings"
pycompile_module="capstone"
depends="${sourcepkg}>=${version}_${revision}" depends="${sourcepkg}>=${version}_${revision}"
pkg_install() { pkg_install() {
vmove usr/lib/python3* vmove usr/lib/python3*