[arch-commits] Commit in radare2-r2pipe/repos (community-any community-any/PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Mon Mar 29 23:26:59 UTC 2021
Date: Monday, March 29, 2021 @ 23:26:59
Author: anthraxx
Revision: 910321
archrelease: copy trunk to community-any
Added:
radare2-r2pipe/repos/community-any/
radare2-r2pipe/repos/community-any/PKGBUILD
(from rev 910320, radare2-r2pipe/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: radare2-r2pipe/repos/community-any/PKGBUILD (from rev 910320, radare2-r2pipe/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2021-03-29 23:26:59 UTC (rev 910321)
@@ -0,0 +1,29 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgbase=radare2-r2pipe
+pkgname=(python-r2pipe)
+pkgver=5.1.0
+pkgrel=1
+pkgdesc='Access radare2 via pipe from any programming language'
+url='https://github.com/radareorg/radare2-r2pipe'
+arch=('any')
+license=('MIT')
+makedepends=('python' 'radare2')
+source=(${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('6ee3f0f9feeff086fe401c41c354c05c3f35de7cfd2584232c64df8ac7f11c2b3f6c0a420d788937ed565799911d2584f5c3b34df81c7803e8f3a8178a7d1f28')
+b2sums=('8541d0434c7dcd01e3647b3c2badf20a00d124ba529566b53bbe086c4887b1f445e1068b74921ff9daa98cdb366ec86ccaced06544d0a49fa7ee3fdfe185a74e')
+
+build() {
+ cd radare2-r2pipe-${pkgver}/python
+ python setup.py build
+}
+
+package_python-r2pipe() {
+ depends=('python' 'radare2')
+ cd radare2-r2pipe-${pkgver}/python
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+ install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+ install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list