upgpkg: sbcl 2.2.9-1
[arch-packages.git] / strace / trunk / PKGBUILD
blobfbb1e236ea450f815f3540d1a59e85a9a0587040
1 # Maintainer: Giovanni Scafora <giovanni@archlinux.org>
2 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
4 pkgname=strace
5 pkgver=5.19
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 sha1sums=('dc34c0d7c3ab0d0adb227f751c016da2c415eb2e'
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"