[arch-commits] Commit in radare2/repos (2 files)
Levente Polyak
anthraxx at archlinux.org
Mon Apr 26 23:07:15 UTC 2021
Date: Monday, April 26, 2021 @ 23:07:15
Author: anthraxx
Revision: 924633
archrelease: copy trunk to community-staging-x86_64
Added:
radare2/repos/community-staging-x86_64/
radare2/repos/community-staging-x86_64/PKGBUILD
(from rev 924632, radare2/trunk/PKGBUILD)
----------+
PKGBUILD | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
Copied: radare2/repos/community-staging-x86_64/PKGBUILD (from rev 924632, radare2/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2021-04-26 23:07:15 UTC (rev 924633)
@@ -0,0 +1,47 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Guillermo Ramos <0xwille at gmail dot com>
+
+pkgname=radare2
+pkgver=5.2.1
+pkgrel=1
+pkgdesc='Open-source tools to disasm, debug, analyze and manipulate binary files'
+url='https://radare.org'
+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')
+optdepends=('r2ghidra: ghidra decompiler plugin')
+options=('!emptydirs')
+source=(https://github.com/radare/radare2/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('c744f5c8fff163022a7a9a913fe34dfa0dee0d9ab3b18bd4cc038c2d487dbfeba2f1523aa12a3166a2c22c45bcc71e802fae101b72fc2e6adab96b522c0de17b')
+b2sums=('2edfa30d15214ac4dac6065349c808b539619413e7a100459efd5bf74e95c2483edb1ec13de8387d3a7dcfe25a2922ee377c37f4781c374df04e63fe98910b7e')
+
+build() {
+ cd ${pkgname}-${pkgver}
+ touch libr/config.mk
+ arch-meson build \
+ -D use_sys_capstone=true \
+ -D use_capstone_version=v4 \
+ -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_sys_tree_sitter=true \
+ -D use_libuv=true \
+ -D use_webui=true \
+ -D tree-sitter-sync=true
+ ninja -C build
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ DESTDIR="${pkgdir}" ninja -C build install
+ cp -r doc/* "${pkgdir}/usr/share/doc/radare2"
+ ln -s /usr/share/man/man1/radare2.1.gz "${pkgdir}/usr/share/man/man1/r2.1.gz"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list