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

Levente Polyak anthraxx at archlinux.org
Sat Jun 12 00:51:56 UTC 2021


    Date: Saturday, June 12, 2021 @ 00:51:55
  Author: anthraxx
Revision: 963037

archrelease: copy trunk to community-staging-any

Added:
  radare2-r2pipe/repos/community-staging-any/
  radare2-r2pipe/repos/community-staging-any/PKGBUILD
    (from rev 963035, radare2-r2pipe/trunk/PKGBUILD)

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

Copied: radare2-r2pipe/repos/community-staging-any/PKGBUILD (from rev 963035, radare2-r2pipe/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-06-12 00:51:55 UTC (rev 963037)
@@ -0,0 +1,29 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgbase=radare2-r2pipe
+pkgname=(python-r2pipe)
+pkgver=5.3.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=('c3d2f6789a32ec1e5baaf34263cad6ae4a7b501f0bbbeabd0612e559dc57875fdda46d965fd85c70f618a4621bd7f87052b607869b42c3b97210a833c6696e6b')
+b2sums=('45e03b391ad68dbb2290ff25c178ee3a2c23ef384a6b80ea535523df4a2efca4bc416e681243961f9b5e0677d9e0233594e018a6f9fa1c875bc8b2ec8187388f')
+
+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