summaryrefslogtreecommitdiff
path: root/community/ccmalloc/PKGBUILD
blob: 838a6bb7dc400e6a2c1d1c2c53a59fb0a68a0962 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $Id: PKGBUILD 2304 2008-05-31 05:00:40Z paul $
# Maintainer: aurelien <aurelien@archlinux.org>
pkgname=ccmalloc
pkgver=0.4.0
pkgrel=1
pkgdesc="Track down memory related problems with C and C++ programs"
arch=('i686' 'x86_64')
url="http://packages.debian.org/sid/ccmalloc"
license=('GPL2')
depends=()
source=(http://ftp.de.debian.org/debian/pool/main/c/ccmalloc/ccmalloc_$pkgver.orig.tar.gz
	http://ftp.de.debian.org/debian/pool/main/c/ccmalloc/ccmalloc_$pkgver-9.diff.gz)
md5sums=('b90d955149569bbc6e801739f099db3d'
         '25c2654e6f3880bb58b82f46a7296dc6')

build() {
  cd $srcdir/$pkgname-$pkgver
  patch -p1 <$srcdir/ccmalloc_$pkgver-9.diff
  ./configure --prefix=/usr
  make || return 1
  make PREFIX=$pkgdir/usr install
}