updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / radare-stable / PKGBUILD
blobee053084e658839c2e8d64f37ac3c6deecae6ac0
1 pkgname=radare-stable
2 pkgver=1.4.1
3 pkgrel=2
4 pkgdesc="A collection of tools with the aim to create a complete, portable, multi-architecture, unix-like toolchain for reverse engineering."
5 arch=('i686' 'x86_64')
6 url="http://radare.nopcode.org"
7 license=('GPL2')
8 depends=('bash' 'perl' 'python')
9 source=("http://radare.nopcode.org/get/radare-${pkgver}.tar.gz")
10 provides=("radare")
11 conflicts=("radare")
12 md5sums=('906f89f870b3e02179fa35fdda6d3078')
14 build() {
15         cd "${srcdir}/radare-${pkgver}"
17         msg "Configuring..."
18         ./waf configure || return 1
20         msg "Building..."
21         ./waf build || return 1
22                 
23         msg "Installing..."
24         ./waf --destdir="${pkgdir}" install || return 1
26         install -d "${pkgdir}/usr/share/man/man1"
27         install -m644 man/* "${pkgdir}/usr/share/man/man1" || return 1