blob: 18c1e5e888602ee3cb709dc27ff1801f4716144b (
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
|
# Maintainer: dequis <dx@dxzone.com.ar>
# Previous maintainer: Joel Teichroeb <joel@teichroeb.net>
pkgname=rr
pkgver=3.2.0
pkgrel=1
pkgdesc='a nondeterministic debugger'
arch=(i686 x86_64)
url='http://rr-project.org/'
license=('custom')
depends=('libpfm4' 'libdisasm' 'python2-pexpect')
makedepends=('git' 'cmake')
source=(https://github.com/mozilla/${pkgname}/archive/${pkgver}.tar.gz)
sha1sums=('59ae73f4402aa522b1c46a30788982179b68222d')
prepare() {
cd $pkgname-$pkgver
mkdir -p build
sed -i~ -e 's/ python / python2 /g' CMakeLists.txt
sed -i~ -e 's/^\(#define \)_BSD_SOURCE$/\1_DEFAULT_SOURCE/' src/Command.cc
}
build() {
cd $pkgname-$pkgver/build
cmake ..
make
}
package() {
cd $pkgname-$pkgver/build
make DESTDIR="${pkgdir}" install
cd ..
install -D LICENSE "${pkgdir}/usr/share/licenses/rr/LICENSE"
}
|