mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 07:07:14 +08:00
24 lines
637 B
Bash
24 lines
637 B
Bash
pkgname=strace
|
|
pkgver=4.20
|
|
pkgrel=1
|
|
pkgdesc="A useful diagnositic, instructional, and debugging tool"
|
|
arch=('x86_64')
|
|
url="http://sourceforge.net/projects/strace/"
|
|
license=('custom')
|
|
depends=('perl' 'libunwind')
|
|
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-$pkgver.tar.xz)
|
|
sha256sums=('5bf3148dd17306a42566f7da17368fdd781afa147db05ea63a4ca2b50f58c523')
|
|
|
|
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
|
|
}
|