# Contributor: Kevin Daudt # Maintainer: Kevin Daudt pkgname=redo pkgver=0.41 pkgrel=2 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="python2 perl" subpackages="$pkgname-doc" source="https://github.com/apenwarr/redo/archive/redo-${pkgver}.tar.gz skip-when-tty-missing.patch" builddir="$srcdir/redo-redo-${pkgver}" build() { cd "$builddir" ./do build } check() { cd "$builddir" ./do test # Some files / directories are created as read-only for testing # purposes. Make them writable again to make sure we can remove them # again. chmod -R +w . } package() { cd "$builddir" DESTDIR="$pkgdir" PREFIX="/usr" ./do install } sha512sums="94e4414a2f8120e5d4a949461734ed69dc2f39edfb7929d2efff83041ac0b941e037359ccfafcb4eff760608274e32c579df56d58fdb67b13b8a26eb1945b0d0 redo-0.41.tar.gz bc622d6a4b2c270f4f7791bb545d9f0a34a3c993f4a03dd901c4419c4f82ffeb43d210972f29abada14ba9eae812040c2c5a76ffdcfc744bb01fd5c32fa0ca89 skip-when-tty-missing.patch"