mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
24 lines
632 B
Bash
24 lines
632 B
Bash
pkgname=strace
|
|
pkgver=4.13
|
|
pkgrel=1
|
|
pkgdesc="A useful diagnositic, instructional, and debugging tool"
|
|
arch=('x86_64')
|
|
url="http://sourceforge.net/projects/strace/"
|
|
license=('custom')
|
|
depends=('perl')
|
|
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-$pkgver.tar.xz)
|
|
sha256sums=('d48f732576c91ece36a5843d63f9be054c40ef59f1e4773986042636861625d7')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}/" install || return 1
|
|
|
|
install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
|
|
}
|