# Contributor: Kevin Daudt # Maintainer: Kevin Daudt pkgname=apenwarr-redo pkgver=0.42 pkgrel=0 pkgdesc="Smaller, easier, more powerful, and more reliable than make" url="https://redo.readthedocs.io/en/latest/" arch="noarch" license="Apache-2.0" depends="python2" makedepends="perl" checkdepends="cpio" subpackages="$pkgname-doc" source="https://github.com/apenwarr/redo/archive/redo-$pkgver.tar.gz" provides="redo" provider_priority=50 builddir="$srcdir/redo-redo-$pkgver" build() { ./do build } check() { # Causes issues with the test suite unset CC CPPFLAGS CFLAGS CXX CXXFLAGS LDFLAGS ./do test } package() { DESTDIR="$pkgdir" PREFIX="/usr" ./do install } cleanup_srcdir() { # Test suite changes some files to read-only, resulting in errors on # cleanup. [ -e "$srcdir" ] && chmod -R a+w "$srcdir" default_cleanup_srcdir } sha512sums="41b8417136f98d12edf3c62f027f2459ae3fb92f6c5464553d79c3a52344de57220a5c64b565118da0a99c1544eaa153a468ffcdcfbf7193c76c896bcd40e900 redo-0.42.tar.gz"