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