# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=mr pkgver=1.11 pkgrel=0 pkgdesc="A multiple repository management tool" url="http://kitenet.net/~joey/code/mr/" arch="noarch" license="GPL2+" depends="perl" depends_dev="" makedepends="" install="" subpackages="$pkgname-doc" source="http://ftp.de.debian.org/debian/pool/main/m/mr/"$pkgname"_"$pkgver".tar.gz" _builddir="$srcdir"/$pkgname build() { cd "$_builddir" make || return 1 } package() { cd "$_builddir" install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname || return 1 cd "$_builddir"/lib for file in git-fake-bare git-svn unison; do install -Dpm 0644 $file \ "$pkgdir"/usr/share/$pkgname/$file || return 1 done } doc() { cd "$_builddir" mkdir -p "$subpkgdir"/usr/share/man || return 1 mv "$_builddir"/*.1 "$subpkgdir"/usr/share/man/ || return 1 # Sample configuration files for file in mrconfig mrconfig.complex; do install -Dpm 0644 $file \ "$subpkgdir"/usr/share/doc/$pkgname/$file || return 1 done } md5sums="884d776530e6f5cb54eaa87d29ad817a mr_1.11.tar.gz"