summaryrefslogtreecommitdiff
path: root/extra/ltrace/PKGBUILD
blob: 98b2c33fe3759356cd0544715acb5d7af060e952 (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' 'mips64el')
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
}