Date: Monday, March 28, 2022 @ 16:12:01 Author: anatolik Revision: 440772
archrelease: copy trunk to testing-x86_64 Added: strace/repos/testing-x86_64/ strace/repos/testing-x86_64/PKGBUILD (from rev 440771, strace/trunk/PKGBUILD) ----------+ PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) Copied: strace/repos/testing-x86_64/PKGBUILD (from rev 440771, strace/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2022-03-28 16:12:01 UTC (rev 440772) @@ -0,0 +1,33 @@ +# Maintainer: Giovanni Scafora <giova...@archlinux.org> +# Contributor: Tom Newsom <jeeps...@gmx.co.uk> + +pkgname=strace +pkgver=5.17 +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=('4e0622ec2f1551f96ba6abb0145737b91fda4509' + 'SKIP') +validpgpkeys=('296D6F29A020808E8717A8842DB5BD89A340AEB7') # Dmitry V. Levin <l...@altlinux.org> + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr --with-libunwind --enable-mpers=no + 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" +}