pkgname=valgrind pkgver=3.23.0 pkgrel=2 pkgdesc="A tool to help find memory-management problems in programs" arch=('x86_64') license=('GPL') url="https://valgrind.org" depends=('glibc>=2.39' 'glibc<2.40' 'perl') makedepends=('gdb') options=('!emptydirs' '!buildflags') source=("https://sourceware.org/pub/valgrind/${pkgname}-${pkgver}.tar.bz2") sha1sums=('ec410c75d3920d4f9249a5cfa2cac31e1bf6d586') 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 }