blob: 382f18ad60b0cbaf283a838920fc34171b312f0d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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"
|