Date: Tuesday, January 22, 2019 @ 23:46:22 Author: anthraxx Revision: 427060
archrelease: copy trunk to community-staging-x86_64 Added: radare2/repos/community-staging-x86_64/ radare2/repos/community-staging-x86_64/PKGBUILD (from rev 427059, radare2/trunk/PKGBUILD) ----------+ PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) Copied: radare2/repos/community-staging-x86_64/PKGBUILD (from rev 427059, radare2/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-01-22 23:46:22 UTC (rev 427060) @@ -0,0 +1,32 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Contributor: Guillermo Ramos <0xwille at gmail dot com> + +pkgname=radare2 +pkgver=3.2.1 +pkgrel=2 +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') +options=('!emptydirs') +source=(${pkgname}-${pkgver}.tar.gz::https://github.com/radare/radare2/archive/${pkgver}.tar.gz) +sha256sums=('a4d0c1b3a3dfd810749578227940b8ea77e517d2c4d284c9687e49224a272796') +sha512sums=('4f8c64eb02a80ae5e7adce1322d16f08a250be21c674a8f6f0271bfdc8dc41a6f4ef50fef36e012733db5008cffb356489beef9e9b82300372350bef81e13afa') + +build() { + cd ${pkgname}-${pkgver} + ./configure --prefix=/usr \ + --with-syscapstone \ + --with-syszip \ + --with-openssl + make +} + +package() { + cd ${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install + install -Dm 644 doc/zsh/* -t "${pkgdir}/usr/share/zsh/site-functions" +} + +# vim: ts=2 sw=2 et: