aboutsummaryrefslogtreecommitdiffstats
path: root/testing/radare2/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/radare2/APKBUILD')
-rw-r--r--testing/radare2/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/testing/radare2/APKBUILD b/testing/radare2/APKBUILD
new file mode 100644
index 0000000000..8c441d7a46
--- /dev/null
+++ b/testing/radare2/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: stef <l0ls0fo2i@ctrlc.hu>
+# Maintainer:
+pkgname=radare2
+pkgver=0.9.8
+pkgrel=0
+pkgdesc="unix-like reverse-engineering framework and commandline tools"
+url="http://www.radare.org"
+arch="all"
+license="GPL3"
+depends=""
+depends_dev=""
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-dev"
+source="${pkgname}-${pkgver}.tar.gz::https://github.com/radare/radare2/archive/${pkgver}.tar.gz"
+_builddir="$srcdir/$pkgname-${pkgver}"
+prepare() {
+local i
+cd "$_builddir"
+for i in $source; do
+case $i in
+*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+esac
+done
+}
+build() {
+cd "$_builddir"
+./configure --prefix=/usr || exit 1
+make
+}
+package() {
+cd "$_builddir"
+make DESTDIR="$pkgdir" install
+install -D -m644 man/* "$pkgdir/usr/share/man/man1/"
+}
+md5sums="f22ba519abc5fa38325cf75d900a9529 radare2-0.9.8.tar.gz"
+sha256sums="9bcc5d52c38b91a197eff193c2d49f99a7641ef7f9e64c63297bcecf5435fa2e radare2-0.9.8.tar.gz"
+sha512sums="0846105724ee2566ddc2db203128f29bdfd900dba6c2c91d4743745f18ce5396bd1f4f6dba64e6792493a7ef1737fcc343e3f45d20190d53a8af837b4ce8d0b2 radare2-0.9.8.tar.gz"