pkgname=strace pkgver=4.15 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=('c0cdc094d6141fd9dbf6aaad605142d651ae10998b660fda57fc61f7ad583ca9') 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 }