34 lines
1.3 KiB
Bash
34 lines
1.3 KiB
Bash
# Template file for 'rizin'
|
|
pkgname=rizin
|
|
version=0.5.2
|
|
revision=2
|
|
build_style=meson
|
|
configure_args="-D use_sys_capstone=enabled -D use_capstone_version=v4
|
|
-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=71ab80fc3c8ac9c80a10000d838128af28a05d31a0ee183900c2c5c6e350eca3
|
|
# 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
|
|
}
|
|
}
|