archrelease: copy trunk to extra-x86_64
[arch-packages.git] / strace / repos / extra-x86_64 / PKGBUILD
blobc651783b8429a7ba6c3d0f7c077e90a4d1eadeba
1 # Maintainer: Giovanni Scafora <giovanni@archlinux.org>
2 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
4 pkgname=strace
5 pkgver=6.3
6 pkgrel=1
7 pkgdesc='A diagnostic, debugging and instructional userspace tracer'
8 arch=(x86_64)
9 url='https://strace.io/'
10 license=(BSD)
11 depends=(perl libunwind)
12 source=(https://github.com/strace/strace/releases/download/v$pkgver/strace-$pkgver.tar.xz{,.asc})
13 sha256sums=('e17878e301506c1cc301611118ad14efee7f8bcef63b27ace5d290acce7bb731'
14             'SKIP')
15 validpgpkeys=('296D6F29A020808E8717A8842DB5BD89A340AEB7') # Dmitry V. Levin <ldv@altlinux.org>
17 build() {
18   cd $pkgname-$pkgver
19   ./configure --prefix=/usr --with-libunwind --enable-mpers=no
20   make
23 check() {
24   # tests do not work in chroot environment. TODO: fixit.
25   # make -C $pkgname-$pkgver check
26   true
29 package() {
30   cd $pkgname-$pkgver
31   make DESTDIR="$pkgdir" install
32   install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"