PKGBUILDs/extra/strace/PKGBUILD
2009-09-26 09:35:50 -05:00

21 lines
708 B
Bash

# $Id: PKGBUILD 13699 2008-09-27 22:25:37Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=strace
pkgver=4.5.18
pkgrel=1
pkgdesc="A useful diagnositic, instructional, and debugging tool"
arch=('i686' 'x86_64')
license=('custom')
url="http://sourceforge.net/projects/strace/"
depends=('glibc')
source=(http://downloads.sourceforge.net/sourceforge/strace/strace-$pkgver.tar.bz2)
md5sums=('e9449fcee97e6a8ed73934c883c870e0')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install
install -Dm644 COPYRIGHT ${startdir}/pkg/usr/share/licenses/strace/COPYRIGHT
}