void-packages/srcpkgs/rizin/template

34 lines
1.3 KiB
Bash

# Template file for 'rizin'
pkgname=rizin
version=0.6.2
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_xxhash=enabled -D use_sys_openssl=enabled
-D use_sys_tree_sitter=enabled -D use_sys_lzma=enabled -D use_sys_libmspack=enabled
-D local=disabled -D packager=VoidLinux"
hostmakedepends="pkg-config"
makedepends="capstone-devel libzip-devel zlib-devel liblz4-devel xxHash-devel
tree-sitter-devel file-devel openssl-devel liblzma-devel libmspack-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=e29a00a3e22004bdd10146d286b1cce0e06196d41aae4729aafc9d78321ff86b
# 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
}
}