blob: 9d7bd9e2e0840f26a2128e96abe168d6364d30c7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Maintainer: Gustavo Costa <xfgusta@gmail.com>
pkgname=strace-with-colors
_pkgname=strace
pkgver=5.18
pkgrel=1
pkgdesc='A diagnostic, debugging and instructional userspace tracer (with colors)'
arch=(x86_64)
url='https://strace.io/'
license=(BSD)
depends=(perl libunwind)
conflicts=($_pkgname)
provides=($_pkgname)
source=("https://github.com/strace/strace/releases/download/v$pkgver/strace-$pkgver.tar.xz"
"$pkgname.patch")
sha1sums=('e038ea9fc29366ce6119cde27d8cf16ac554a353'
'SKIP')
prepare() {
patch -d "$_pkgname-$pkgver" -p1 -i ../$pkgname.patch
}
build() {
cd $_pkgname-$pkgver
./configure --prefix=/usr --with-libunwind --enable-mpers=no
make
}
package() {
cd $_pkgname-$pkgver
make DESTDIR="$pkgdir" install
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$_pkgname/LICENSE"
}
|