desktop/strace/PKGBUILD

24 lines
637 B
Bash
Raw Normal View History

2010-11-19 02:58:58 +08:00
pkgname=strace
2018-02-05 15:58:14 +08:00
pkgver=4.20
2011-03-16 20:44:09 +08:00
pkgrel=1
2010-11-19 02:58:58 +08:00
pkgdesc="A useful diagnositic, instructional, and debugging tool"
2013-03-10 06:43:25 +08:00
arch=('x86_64')
2010-11-19 02:58:58 +08:00
url="http://sourceforge.net/projects/strace/"
license=('custom')
2018-02-05 15:58:14 +08:00
depends=('perl' 'libunwind')
2011-03-16 20:44:09 +08:00
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-$pkgver.tar.xz)
2018-02-05 15:58:14 +08:00
sha256sums=('5bf3148dd17306a42566f7da17368fdd781afa147db05ea63a4ca2b50f58c523')
2010-11-19 02:58:58 +08:00
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
2018-02-05 15:58:14 +08:00
./configure --prefix=/usr --with-libunwind
make
2010-11-19 02:58:58 +08:00
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
2018-02-05 15:58:14 +08:00
make DESTDIR="${pkgdir}/" install
2010-11-19 02:58:58 +08:00
2014-12-11 06:09:20 +08:00
install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
2010-11-19 02:58:58 +08:00
}