summaryrefslogtreecommitdiff
path: root/extra/strace/PKGBUILD
blob: 3cb8d7ddfedbca08b4a54c68058a820c3cd01714 (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 187820 2013-06-06 14:47:25Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>

pkgname=strace
pkgver=4.8
pkgrel=1
pkgdesc="A useful diagnositic, instructional, and debugging tool"
arch=('i686' 'x86_64' 'mips64el')
url="http://sourceforge.net/projects/strace/"
license=('custom')
depends=('perl')
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-$pkgver.tar.xz")
md5sums=('c575ef43829586801f514fd91bfe7575')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  make DESTDIR="${pkgdir}/" install
  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}