mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
28 lines
874 B
Bash
28 lines
874 B
Bash
pkgname=strace
|
|
pkgver=4.24
|
|
pkgrel=1
|
|
pkgdesc="A useful diagnositic, instructional, and debugging tool"
|
|
arch=('x86_64')
|
|
url="https://strace.io/"
|
|
license=('custom:BSD-like')
|
|
depends=('perl' 'libunwind')
|
|
checkdepends=('valgrind')
|
|
source=("https://strace.io/files/$pkgver/$pkgname-$pkgver.tar.xz"{,.asc})
|
|
# Backup source: "https://github.com/$pkgname/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.xz"{,.asc}
|
|
sha256sums=('1f4e59fc1edfa2bfb4adf2a748623dc25b105ec79713dd84404199f91b0b0634'
|
|
'SKIP')
|
|
validpgpkeys=('296D6F29A020808E8717A8842DB5BD89A340AEB7') # Dmitry V. Levin <ldv@altlinux.org>
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr --with-libunwind
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}/" install
|
|
|
|
install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
|
|
}
|