# Contributor: Jakub Jirutka # Maintainer: Jakub Jirutka pkgname=creduce pkgver=2.8.0 pkgrel=0 pkgdesc="A C/C++ program reducer" url="http://embed.cs.utah.edu/creduce/" arch="" license="custom" # util-linux provides lscpu depends="clang6 indent perl perl-exporter-lite perl-file-which perl-getopt-tabular perl-regexp-common perl-sys-cpu perl-term-readkey util-linux" makedepends="clang6-dev clang-static flex llvm6-dev zlib-dev" source="http://embed.cs.utah.edu/creduce/$pkgname-$pkgver.tar.gz" builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" export LLVM_CONFIG=/usr/lib/llvm6/bin/llvm-config CC=clang CXX=clang++ ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --libexecdir=/usr/lib/$pkgname make } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="9d616dc421d0e932656ab0220ebfe1a4f20a08d46bf4ee004ef96a693ff37caeadf96c769262574a9789ac52c2bb4586e2b8602f7d44b627229b8eb45f5af0ea creduce-2.8.0.tar.gz"