# Contributor: Kevin Daudt # Maintainer: Kevin Daudt pkgname=apenwarr-redo pkgver=0.42a 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="python3" makedepends="perl" checkdepends="cpio" subpackages="$pkgname-doc" source="https://github.com/apenwarr/redo/archive/redo-$pkgver.tar.gz fix-env-python.patch " 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="8473bd8168c8e70b59a573560f8f725c8538061ee15eabeb63e467a363fa6869aa8088e8ce324726da4e2f7115e2ddf72cbb657703e9090f4f93c05f42bb67cb redo-0.42a.tar.gz 8b01a70e0812bf6c90c8447d110eac91639c35e3e3c20a083d4ed68fe0b3a3524081ad94fa1fd504525b7ebf5ef1fd5aff9fe3b933fe9f0aa2a404426ed96471 fix-env-python.patch"