blob: fb681be5453107ca437cd83b89200a2f74cd5946 (
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
39
40
41
42
43
44
45
46
47
48
|
# Maintainer: Cody Schafer <aur at codyps com>
# Maintainer: dequis <dx@dxzone.com.ar>
# Previous maintainer: Joel Teichroeb <joel@teichroeb.net>
pkgname=rr
pkgver=5.7.0
pkgrel=1
pkgdesc='Record and Replay framework: lightweight recording and deterministic debugging'
arch=(i686 x86_64 aarch64)
url='http://rr-project.org/'
license=('custom')
depends=('gdb' 'capnproto' 'gcc-libs' 'glibc' 'zlib')
optdepends=(
'python: for rr-collect-symbols.py'
'bash: for signal-rr-recording.sh'
)
makedepends=('git' 'cmake' 'ninja' 'patch' 'pkg-config')
options=(!strip)
source=(
$pkgname-$pkgver.tar.gz::https://github.com/rr-debugger/${pkgname}/archive/${pkgver}.tar.gz
)
sha1sums=('0f7d634a7341f08d96a6e14d0de4dd7117577250')
build() {
cmake \
-GNinja \
-Ddisable32bit=true \
-DCMAKE_BUILD_TYPE=plain \
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
-DBUILD_TESTS=OFF \
-DWILL_RUN_TESTS=OFF \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_CXX_STANDARD=14 \
-Wno-dev \
-B build \
-S "$pkgname-$pkgver"
cmake --build build
}
package() {
DESTDIR="${pkgdir}" cmake --build build -- -v install
if check_option 'debug' n; then
find "${pkgdir}/usr/bin" -type f -executable -exec strip $STRIP_BINARIES {} + || :
fi
install -D "$pkgname-$pkgver"/LICENSE "${pkgdir}/usr/share/licenses/rr/LICENSE"
}
|