pkgname=elfutils pkgver=0.192 pkgrel=1 pkgdesc="Collection of libraries and utilities for working with ELF object files and DWARF debugging information." arch=('x86_64') url="https://sourceware.org/elfutils/" license=('LGPL3' 'GPL' 'GPL3') depends=('gcc-libs' 'zlib' 'bzip2' 'xz') source=("https://sourceware.org/elfutils/ftp/${pkgver}/elfutils-${pkgver}.tar.bz2") sha512sums=('543188f5f2cfe5bc7955a878416c5f252edff9926754e5de0c6c57b132f21d9285c9b29e41281e93baad11d4ae7efbbf93580c114579c182103565fe99bd3909') build() { cd ${pkgname}-${pkgver} # needed for check() CFLAGS+=" -g" ./configure --prefix=/usr \ --program-prefix="eu-" \ --disable-debuginfod make } check() { cd ${pkgname}-${pkgver} # FAIL: run-srcfiles-self.sh make check } package() { cd ${pkgname}-${pkgver} make install DESTDIR=${pkgdir} }