summaryrefslogtreecommitdiff
path: root/extra/ltrace/PKGBUILD
blob: 9861acb93aadb2763418841d6da9aefa5fa696a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $Id: PKGBUILD 87253 2010-08-11 14:16:17Z allan $
# Maintainer:
# Contributor: Aaron Griffin <aaron@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>

pkgname=ltrace
pkgver=0.5.3
pkgrel=2
pkgdesc="A debugging program which runs a specified command until it exits"
arch=('i686' 'x86_64')
url="http://packages.debian.org/sid/ltrace"
license=('GPL')
depends=('glibc' 'elfutils')
backup=('etc/ltrace.conf')
source=(http://ftp.debian.org/debian/pool/main/l/ltrace/${pkgname}_${pkgver}.orig.tar.gz)
md5sums=('3fa7fe715ab879db08bd06d1d59fd90f')

build() {
  cd $srcdir/$pkgname-$pkgver
  sed -i 's|/usr/bin/install|/bin/install|' configure
  ./configure --prefix=/usr --sysconfdir=/etc
  make
}

package(){
  cd ${srcdir}/${pkgname}-${pkgver}
  make DESTDIR=${pkgdir} install
}