[arch-commits] Commit in rizin/repos/community-x86_64 (PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Wed Mar 31 23:35:57 UTC 2021


    Date: Wednesday, March 31, 2021 @ 23:35:56
  Author: anthraxx
Revision: 910753

archrelease: copy trunk to community-x86_64

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

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

Copied: rizin/repos/community-x86_64/PKGBUILD (from rev 910752, rizin/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-03-31 23:35:56 UTC (rev 910753)
@@ -0,0 +1,45 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgname=rizin
+pkgver=0.1.2
+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')
+makedepends=('meson' 'ninja' 'python')
+optdepends=('rz-ghidra: ghidra decompiler plugin')
+options=('!emptydirs')
+source=(https://github.com/rizinorg/rizin/releases/download/v${pkgver}/rizin-src-${pkgver}.tar.xz)
+sha512sums=('f52987af5d1cd9f88a699610dfbb8118b23c5ce205c530a7b0c7481b06ee95a8e4d0d66297ca34c18e0b9366c963ea3244f37d66a7fda0ec6ffaa084f2ae7568')
+b2sums=('a9182ae49782c57c3c4d4028203cfb1aef5b743096f4749a0ba65fa80ee421a23c3eb8a4f413f06f51c909c763a9bb06cb058cd334b3f4b0711ff72ee93c0df6')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  arch-meson build \
+    -D use_sys_capstone=true \
+    -D use_sys_magic=true \
+    -D use_sys_zip=true \
+    -D use_sys_zlib=true \
+    -D use_sys_lz4=true \
+    -D use_sys_xxhash=true \
+    -D use_sys_openssl=true \
+    -D use_libuv=true \
+    -D use_webui=true \
+    -D use_sys_tree_sitter=true \
+    -D local=disabled
+  ninja -C build
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  DESTDIR="${pkgdir}" ninja -C build install
+  install -d "${pkgdir}/usr/share/doc/rizin"
+  cp -r doc/* "${pkgdir}/usr/share/doc/rizin"
+  ln -s /usr/share/man/man1/rizin.1.gz "${pkgdir}/usr/share/man/man1/rz.1.gz"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list