1 # Maintainer: Nicolas Pouillard (http://nicolaspouillard.fr)
2 # Contributor: Peter Simons <simons@cryp.to>
6 pkgdesc='Checkout, update, or perform other actions on a set of VC repositories.'
8 url='http://kitenet.net/~joey/code/mr/'
10 depends=('perl' 'perl-libwww' 'perl-html-parser' 'perl-uri')
11 makedepends=('git' 'rsync')
12 optdepends=('git: support for git repositories'
13 'cvs: support for cvs repositories'
14 'svn: support for subversion repositories'
15 'mercurial: support for mercurial repositories'
16 'bzr: support for bzr repositories'
17 'darcs: support for darcs repositories')
21 local _gitroot='git://git.kitenet.net/mr'
29 git clone --depth=1 "${_gitroot}"
32 git checkout "${pkgver}"
33 rsync -aH --del "${srcdir}/mr/" "${srcdir}/build/"
47 install -m755 -D mr "${pkgdir}/usr/bin/mr"
48 install -m755 -D webcheckout "${pkgdir}/usr/bin/webcheckout"
49 install -m644 -D mr.1 "${pkgdir}/usr/share/man/man1/mr.1"
50 install -m644 -D webcheckout.1 "${pkgdir}/usr/share/man/man1/webcheckout.1"
51 install -m644 -D README "${pkgdir}/usr/share/doc/${pkgname}/README"