# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>

pkgname='grosskurth-gnu-redo'
pkgdesc="Alan Grosskurth's implmentation of the redo build system, modified by Jonathan de Boyne Pollard to use GNU tools"
url="http://homepage.ntlworld.com/jonathan.deboynepollard/Softwares/grosskurth-redo.html"
pkgver=1.0
license=('custom:Public Domain')
source=(http://homepage.ntlworld.com/jonathan.deboynepollard/Softwares/grosskurth-redo.tar.bz2)
md5sums=('5095d3f9800b49c0c29788a9c4b9d901')

pkgrel=1
arch=(any)
depends=(bash
         findutils
         coreutils
         grep
         awk)
provides=('redo' 'grosskurth-redo')
conflicts=('redo' 'grosskurth-redo')

package() {
  cd "$srcdir/package/prog/redo"
  install -Dm755 redo          "$pkgdir/usr/bin/redo"
  install -Dm755 redo-ifchange "$pkgdir/usr/bin/redo-ifchange"
  install -Dm755 redo-ifcreate "$pkgdir/usr/bin/redo-ifcreate"
  install -d             "$pkgdir/usr/share/licenses/$pkgname/"
  echo 'Public domain' > "$pkgdir/usr/share/licenses/$pkgname/license.txt"
}
