mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
37 lines
1 KiB
Bash
37 lines
1 KiB
Bash
# 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
|
|
pkgver=5.6
|
|
pkgrel=1
|
|
pkgdesc='A diagnostic, debugging and instructional userspace tracer'
|
|
arch=(x86_64)
|
|
url='https://strace.io/'
|
|
license=(BSD)
|
|
depends=(perl libunwind)
|
|
source=(https://github.com/strace/strace/releases/download/v$pkgver/strace-$pkgver.tar.xz{,.asc})
|
|
sha1sums=('03e0de09e76964c366c85d2af1b6955f626b477d'
|
|
'SKIP')
|
|
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"
|
|
}
|