pkgname=valgrind pkgver=3.24.0 pkgrel=1 pkgdesc="A tool to help find memory-management problems in programs" arch=('x86_64') license=('GPL') url="https://valgrind.org" depends=('glibc>=2.40' 'glibc<2.41' 'perl') makedepends=('gdb') options=('!emptydirs' '!buildflags') source=("https://sourceware.org/pub/valgrind/${pkgname}-${pkgver}.tar.bz2") sha1sums=('6fc0470fedc0d85dae3e042297cabd13c6100749') build() { cd ${pkgname}-${pkgver} ./configure \ --prefix=/usr \ --mandir=/usr/share/man \ --enable-only64bit \ --libexecdir=/usr/lib make } package() { cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir} install }