# $Id$ # Maintainer: Giovanni Scafora <giovanni@archlinux.org> # Contributor: Tom Newsom <Jeepster@gmx.co.uk> pkgname=strace pkgver=4.6 pkgrel=1 pkgdesc="A useful diagnositic, instructional, and debugging tool" arch=('i686' 'x86_64') url="http://sourceforge.net/projects/strace/" license=('custom') depends=('perl') source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-$pkgver.tar.xz) md5sums=('e537b2b1afeec70c0e6e27a0d0fd671e') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr make } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}/" install install -Dm644 COPYRIGHT ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE }