# Contributor: Kevin Daudt # Maintainer: Kevin Daudt pkgname=redo pkgver=0.41 pkgrel=3 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" subpackages="$pkgname-doc" source="https://github.com/apenwarr/redo/archive/redo-${pkgver}.tar.gz builder-no-tty.patch::https://github.com/apenwarr/redo/commit/c18c4b92c9a2b23f0ce06d9aebf151bdaded6dd1.patch" # Above patch can be removed once a new version has been released. builddir="$srcdir/redo-redo-${pkgver}" build() { ./do build } check() { ./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="94e4414a2f8120e5d4a949461734ed69dc2f39edfb7929d2efff83041ac0b941e037359ccfafcb4eff760608274e32c579df56d58fdb67b13b8a26eb1945b0d0 redo-0.41.tar.gz ede8020f488023f4419dd044c689e76566493573356a224c56048caadf1e34ddb33e9f676085f92479515a64bedbbafa13cee286caa2e09aa56b3753762a0e65 builder-no-tty.patch"