jobextra/strace/PKGBUILD

45 lines
1.2 KiB
Bash
Raw Normal View History

2022-03-20 13:34:07 +01:00
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
2022-06-21 20:58:28 +02:00
# Maintainer : Joe Bo Run <joborun@disroot.org>
2022-03-20 13:34:07 +01:00
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
2022-06-21 20:58:28 +02:00
# Website : https://pozol.eu
2022-03-20 13:34:07 +01:00
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=strace
2022-12-15 23:19:46 +01:00
pkgver=6.1
2022-03-20 13:34:07 +01:00
pkgrel=01
pkgdesc='A diagnostic, debugging and instructional userspace tracer'
arch=(x86_64)
url='https://strace.io/'
depends=(perl libunwind)
source=(https://github.com/strace/strace/releases/download/v$pkgver/strace-$pkgver.tar.xz{,.asc})
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"
}
#---- license gpg-key sha256sums ----
license=(BSD)
validpgpkeys=('296D6F29A020808E8717A8842DB5BD89A340AEB7') # Dmitry V. Levin <ldv@altlinux.org>
2022-12-15 23:19:46 +01:00
sha256sums=(2579e9cec37dbb786f6ea0bebd15f40dd561ef2bde2a2a2ecdce5963b01859fd # strace-6.1.tar.xz
5e554917fba0c574aab96db7206580878d901063cac021bfcbd2fe9c8bce7182) # strace-6.1.tar.xz.asc