unicorn: update to 1.0.2.

This commit is contained in:
Piraty 2020-11-10 09:28:11 +01:00
parent 38eaaf9c85
commit a6bbc1e1ed

View file

@ -1,24 +1,23 @@
# Template file for 'unicorn'
pkgname=unicorn
version=1.0.1
revision=4
archs="x86_64* i686*"
version=1.0.2
revision=1
hostmakedepends="python-devel python3-devel python-setuptools python3-setuptools"
short_desc="Lightweight multi-platform, multi-architecture CPU emulator framework"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2"
homepage="http://www.unicorn-engine.org/"
maintainer="Piraty <piraty1@inbox.ru>"
license="GPL-2.0-only"
homepage="https://www.unicorn-engine.org/"
distfiles="https://github.com/unicorn-engine/unicorn/archive/${version}.tar.gz"
checksum=3a6a4f2b8c405ab009040ca43af8e4aa10ebe44d9c8b336aa36dc35df955017c
checksum=6400e16f9211486fa5353b1870e6a82f8aa342e429718d1cbca08d609aaadc52
post_extract() {
post_patch() {
# don't build the samples
echo "clean:" > samples/Makefile
}
do_build() {
make
make -C bindings
make $makejobs
make $makejobs -C bindings
cd bindings/python
for pyver in $py2_ver $py3_ver; do
python${pyver} setup.py build --build-base=build-${pyver}