capstone: remove unnecessary PREFIX=, clean up

This commit is contained in:
classabbyamp 2022-08-22 15:34:50 -04:00
parent 22c2882696
commit 04f8b464b1
No known key found for this signature in database
GPG Key ID: 6BE0755918A4C7F5
1 changed files with 2 additions and 3 deletions

View File

@ -3,7 +3,7 @@ pkgname=capstone
version=4.0.2
revision=4
build_style=gnu-makefile
make_use_env=1
make_use_env=yes
hostmakedepends="python3-setuptools"
short_desc="Lightweight multi-platform, multi-architecture disassembly framework"
maintainer="Orphaned <orphan@voidlinux.org>"
@ -12,8 +12,7 @@ homepage="https://www.capstone-engine.org/"
distfiles="https://github.com/aquynh/${pkgname}/archive/${version}.tar.gz"
checksum=7c81d798022f81e7507f1a60d6817f63aa76e489aa4e7055255f21a22f5e526a
do_install() {
make PREFIX=/usr DESTDIR=${DESTDIR} install
post_install() {
make -C bindings/python PREFIX=/usr DESTDIR=${DESTDIR} install3
vlicense LICENSE.TXT LICENSE
}