# Contributor: Sören Tempel # Contributor: Valery Kartel # Contributor: stef # Contributor: Jose-Luis Rivas # Maintainer: Valery Kartel pkgname=radare2 pkgver=2.1.0 pkgrel=0 pkgdesc="An opensource, crossplatform reverse engineering framework" url="http://www.radare.org" arch="all !aarch64" license="GPLv3" options="!check" # upstream does not provide any working testsuite depends="" depends_dev="" makedepends="$depends_dev libzip-dev libressl-dev capstone-dev linux-headers" install="" subpackages="$pkgname-dev $pkgname-doc $pkgname-dbg $pkgname-libs" source="$pkgname-$pkgver.tar.gz::https://github.com/radare/$pkgname/archive/${pkgver}.tar.gz anal_arm_cs_shift.patch" builddir="$srcdir"/$pkgname-$pkgver build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --with-syscapstone \ --with-openssl \ --with-syszip make HAVE_LIBVERSION=1 } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="38a907834e21967a83943e62cb29d8097e0522ff71ea61a2e3ab9e5263c3884ce28c17fb3ca9201c2b9f341e1b066ed0899e5152e146e61fc4f650f319299cd0 radare2-2.1.0.tar.gz ab016177a1173ad647a0028f398c9daa8ef3f71fcc4c6c2cedd8ee9a60873dd68a5c825722b2d5916408c965a89a5a3099f5582a09457c9183c9dd14b20ee880 anal_arm_cs_shift.patch"