aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpsykose <alice@ayaya.dev>2022-06-27 19:18:32 +0000
committerMichał Polański <michal@polanski.me>2022-06-29 16:52:15 +0000
commit44922bd19485ee5a948e4b6e78b53900f474894f (patch)
tree4c7f537c2229d67c753415fb8d50633fc5714510
parentca0ab82ad9bd1acf7c334cab6dd93e8d3a801f3c (diff)
downloadaports-44922bd19485ee5a948e4b6e78b53900f474894f.tar.gz
aports-44922bd19485ee5a948e4b6e78b53900f474894f.tar.bz2
aports-44922bd19485ee5a948e4b6e78b53900f474894f.tar.xz
testing/rizin: upgrade to 0.4.0
-rw-r--r--testing/rizin/APKBUILD36
1 files changed, 14 insertions, 22 deletions
diff --git a/testing/rizin/APKBUILD b/testing/rizin/APKBUILD
index f4ff193d08..e454563319 100644
--- a/testing/rizin/APKBUILD
+++ b/testing/rizin/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: TBK <alpine@jjtc.eu>
# Maintainer: TBK <alpine@jjtc.eu>
pkgname=rizin
-pkgver=0.3.4
+pkgver=0.4.0
pkgrel=0
pkgdesc="UNIX-like reverse engineering framework and command-line toolset"
url="https://rizin.re/"
@@ -24,34 +24,27 @@ makedepends="
libzip-dev
lz4-dev
openssl-dev
+ pythonispython3
tree-sitter-dev
xxhash-dev
zlib-dev
"
subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
-_testbins_commit=71eb2aeb33b32be0b0ad5d80d6f017bd0866e7c2
-source="$pkgname-$pkgver.tar.xz::https://github.com/rizinorg/rizin/releases/download/v$pkgver/rizin-src-v$pkgver.tar.xz
- testbins.tar.gz::https://github.com/rizinorg/rizin-testbins/archive/$_testbins_commit.tar.gz
- "
+source="$pkgname-$pkgver.tar.xz::https://github.com/rizinorg/rizin/releases/download/v$pkgver/rizin-src-v$pkgver.tar.xz"
builddir="$srcdir/rizin-v$pkgver"
-prepare() {
- default_prepare
-
- # bins used for testing
- mv -v "$srcdir/rizin-testbins-$_testbins_commit" "$builddir/test/bins"
-}
-
build() {
abuild-meson \
- -Dpackager="alpinelinux" \
- -Duse_sys_capstone=enabled \
- -Duse_sys_magic=enabled \
- -Duse_sys_libzip=enabled \
- -Duse_sys_zlib=enabled \
- -Duse_sys_lz4=enabled \
- -Duse_sys_xxhash=enabled \
- -Duse_sys_openssl=enabled \
+ -Dpackager="alpinelinux" \
+ -Dpackager_version="$pkgver-r$pkgrel" \
+ -Duse_sys_capstone=enabled \
+ -Duse_capstone_version="v4" \
+ -Duse_sys_magic=enabled \
+ -Duse_sys_libzip=enabled \
+ -Duse_sys_zlib=enabled \
+ -Duse_sys_lz4=enabled \
+ -Duse_sys_xxhash=enabled \
+ -Duse_sys_openssl=enabled \
-Duse_sys_tree_sitter=enabled \
. output
meson compile ${JOBS:+-j ${JOBS}} -C output
@@ -69,6 +62,5 @@ package() {
}
sha512sums="
-cda35afe8c031f3207c055ed31d7f76a46b7addd04cead0f5aadf0733b66f4dd953ca16f054b47da7921d4726d6ea1250436012954a9755c1cd524a8fd0d670c rizin-0.3.4.tar.xz
-f30993a2d5afd024337fd7b6085f658c03b7498b663654e1a455db0921a8405d86ff3d284f1e6407aeb1cd8f579719759e6a3530ef4dace57b1ddfb24a35f7ce testbins.tar.gz
+9d576bee48e5ceae46b4e309c53e01b82edf89a95046f576e1c38fefa73353d6d1f04e6d444332324387d4e115bc87659a358629f7277a41dfef44c82364547b rizin-0.4.0.tar.xz
"