39 lines
1.5 KiB
Bash
39 lines
1.5 KiB
Bash
# Template file for 'rizin'
|
|
#
|
|
# Rebuild cutter on update
|
|
pkgname=rizin
|
|
version=0.7.3
|
|
revision=1
|
|
build_style=meson
|
|
configure_args="-D use_sys_capstone=enabled -D use_capstone_version=v5
|
|
-D use_sys_magic=enabled -D use_sys_libzip=enabled -D use_sys_zlib=enabled
|
|
-D use_sys_lz4=enabled -D use_sys_libzstd=enabled -D use_sys_lzma=enabled
|
|
-D use_sys_xxhash=enabled -D use_sys_openssl=enabled
|
|
-D use_sys_libmspack=enabled -D use_sys_tree_sitter=enabled
|
|
-D use_sys_pcre2=enabled -D local=disabled -D packager=VoidLinux
|
|
-D packager_version=${version}_${revision}"
|
|
hostmakedepends="pkg-config pcre2-devel"
|
|
makedepends="capstone-devel libzip-devel zlib-devel liblz4-devel xxHash-devel
|
|
tree-sitter-devel file-devel openssl-devel liblzma-devel libmspack-devel
|
|
libzstd-devel pcre2-devel"
|
|
short_desc="UNIX-like reverse engineering framework and command-line toolset"
|
|
maintainer="Urs Schulz <voidpkgs@ursschulz.de>"
|
|
license="LGPL-3.0-only"
|
|
homepage="https://rizin.re"
|
|
changelog="https://github.com/rizinorg/rizin/releases"
|
|
distfiles="https://github.com/rizinorg/rizin/releases/download/v${version}/rizin-src-v${version}.tar.xz"
|
|
checksum=e0ed25ada6be42098d38da9ccef4befbd549e477e80f8dffa5ca1b8ff9fbda74
|
|
# requires some external files, not clear where they come from
|
|
make_check=no
|
|
|
|
rizin-devel_package() {
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
short_desc="${short_desc} - development files"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/include/librz
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/lib/cmake
|
|
}
|
|
}
|