# Maintainer: revel # Contributor: Alexej Magura # Contributor: tmm1 pkgname=duma pkgver=2.5.21 pkgrel=1 pkgdesc='Detect Unintended Memory Access (D.U.M.A.) - A Red-Zone memory allocator' arch=('i686' 'x86_64') url='https://github.com/johnsonjh/duma' license=('GPL') depends=('bash' 'gcc-libs') _pkgver="${pkgver//./_}" source=("https://github.com/johnsonjh/duma/archive/refs/tags/VERSION_${_pkgver}.tar.gz") sha256sums=('470aa72e7018f0beadb5fbe3c932a62ba1b0594c29158a744c614bfa42133e59') prepare() { cd "${pkgname}-VERSION_${_pkgver}" # sed -i 's/CPPFLAGS=/\0-std=gnu++98 /g' GNUmakefile } build() { cd "${pkgname}-VERSION_${_pkgver}" make } check() { cd "${pkgname}-VERSION_${_pkgver}" # make check } package() { cd "${pkgname}-VERSION_${_pkgver}" make prefix="$pkgdir/usr/" install # install -m644 duma_hlp.h "$pkgdir/usr/include/" }