2018-02-19 16:53:10 +00:00
|
|
|
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
|
|
|
|
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - configure with --enable-mpers=check to fix AArch64 build
|
|
|
|
|
|
|
|
pkgname=strace
|
2020-02-10 19:19:07 +00:00
|
|
|
pkgver=5.5
|
2018-02-19 16:53:10 +00:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc='A diagnostic, debugging and instructional userspace tracer'
|
|
|
|
arch=(x86_64)
|
2018-06-25 02:14:41 +00:00
|
|
|
url='https://strace.io/'
|
2018-02-19 16:53:10 +00:00
|
|
|
license=(BSD)
|
|
|
|
depends=(perl libunwind)
|
2018-06-25 02:14:41 +00:00
|
|
|
source=(https://github.com/strace/strace/releases/download/v$pkgver/strace-$pkgver.tar.xz{,.asc})
|
2020-02-10 19:19:07 +00:00
|
|
|
sha1sums=('ebacd8fb078aabc2e4a856657bac299589641d28'
|
2018-06-25 02:14:41 +00:00
|
|
|
'SKIP')
|
2018-02-19 16:53:10 +00:00
|
|
|
validpgpkeys=('296D6F29A020808E8717A8842DB5BD89A340AEB7') # Dmitry V. Levin <ldv@altlinux.org>
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
--with-libunwind --enable-mpers=check
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
# tests do not work in chroot environment. TODO: fixit.
|
|
|
|
# make -C $pkgname-$pkgver check
|
|
|
|
true
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
|
|
|
}
|