[arch-commits] Commit in rizin/repos (2 files)

Antonio Rojas arojas at gemini.archlinux.org
Sat Dec 25 11:56:24 UTC 2021


    Date: Saturday, December 25, 2021 @ 11:56:23
  Author: arojas
Revision: 1083585

archrelease: copy trunk to community-staging-x86_64

Added:
  rizin/repos/community-staging-x86_64/
  rizin/repos/community-staging-x86_64/PKGBUILD
    (from rev 1083584, rizin/trunk/PKGBUILD)

----------+
 PKGBUILD |   46 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)

Copied: rizin/repos/community-staging-x86_64/PKGBUILD (from rev 1083584, rizin/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-12-25 11:56:23 UTC (rev 1083585)
@@ -0,0 +1,46 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgname=rizin
+pkgver=0.3.1
+pkgrel=1
+pkgdesc='Open-source tools to disasm, debug, analyze and manipulate binary files'
+url='https://rizin.re'
+arch=('x86_64')
+license=('GPL3' 'LGPL3')
+depends=(
+  'sh' 'capstone' 'libcapstone.so' 'openssl' 'libzip' 'zlib' 'lz4' 'xxhash'
+  'libxxhash.so' 'file' 'libuv' 'tree-sitter' 'libtree-sitter.so'
+  'libzip.so' 'libmagic.so')
+makedepends=('meson' 'ninja' 'python')
+optdepends=('rz-ghidra: ghidra decompiler plugin')
+options=('!emptydirs')
+source=(https://github.com/rizinorg/rizin/releases/download/v${pkgver}/rizin-src-v${pkgver}.tar.xz)
+sha512sums=('743f8f2c9ddb045f39147de9ad971d47f1a26bfcc233f41c12c64ade5e31c992104cf3f93c44c5035142b554779e895224b68f839cd87a59aaf344b4ec88d5fe')
+b2sums=('04f7e3cfa20a787f47af90c78405f295b346cc0c7d81164ff01bc6a69df526f3f9112ab4cb62092297ae2dda1fa738a2e7feff35e0f1b7f3e7467a8c6e4d1a1e')
+
+build() {
+  cd ${pkgname}-v${pkgver}
+  arch-meson build \
+    -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_libuv=true \
+    -D use_webui=true \
+    -D local=disabled
+  ninja -C build
+}
+
+package() {
+  cd ${pkgname}-v${pkgver}
+  DESTDIR="${pkgdir}" ninja -C build install
+  install -d "${pkgdir}/usr/share/doc/rizin"
+  cp -r doc/* "${pkgdir}/usr/share/doc/rizin"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list